Reflection Data SetContains Assembly Method
This is used to see if the framework contains an assembly that uses the specified name
Definition
Namespace: Sandcastle.Core.Reflection
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
True if the framework contains the named assembly, false if not.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public bool ContainsAssembly(
string assemblyName
)VB
Public Function ContainsAssembly (
assemblyName As String
) As BooleanC++
public:
bool ContainsAssembly(
String^ assemblyName
)F#
member ContainsAssembly :
assemblyName : string -> bool Parameters
- assemblyName String
- The assembly name without a path or extension or a strong name value. If a strong name value is specified, a "starts with" comparison on the description is used to see if the assembly is present in the framework. This allows for matches on strong names with processor architecture specified which we don't have. If only a name is given, just the name is compared. Comparisons are case-insensitive.
Return Value
BooleanTrue if the framework contains the named assembly, false if not.