Marshal::GetTypeFromCLSID Method (Guid)

 

Returns the type associated with the specified class identifier (CLSID).

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
static Type^ GetTypeFromCLSID(
	Guid clsid
)

Parameters

clsid
Type: System::Guid

The CLSID of the type to return.

Return Value

Type: System::Type^

System.__ComObject regardless of whether the CLSID is valid.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: