Reflection Data SetKeep Reference Assembly Method
This is used to see if a reference assembly should be kept when building reflection data
Definition
Namespace: Sandcastle.Core.Reflection
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
True if the reference assembly should be kept, false if not.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public bool KeepReferenceAssembly(
string assemblyName
)VB
Public Function KeepReferenceAssembly (
assemblyName As String
) As BooleanC++
public:
bool KeepReferenceAssembly(
String^ assemblyName
)F#
member KeepReferenceAssembly :
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 reference assembly should be kept, false if not.