ITypeDiscoveryService::GetTypes Method (Type^, Boolean)
.NET Framework (current version)
Retrieves the list of available types.
Assembly: System (in System.dll)
Parameters
- baseType
-
Type:
System::Type^
The base type to match. Can be null.
- excludeGlobalTypes
-
Type:
System::Boolean
Indicates whether types from all referenced assemblies should be checked.
Return Value
Type: System.Collections::ICollection^A collection of types that match the criteria specified by baseType and excludeGlobalTypes.
If baseType is null, all types are returned. Otherwise, only types derived from the specified base type are returned. If excludeGlobalTypes is false, types from all referenced assemblies are checked. Otherwise, only types from non-Global Assembly Cache (GAC) referenced assemblies are checked. For more information, see Working with Assemblies and the Global Assembly Cache.
.NET Framework
Available since 2.0
Available since 2.0
Show: