GetTypeFromCLSID Method
Collapse the table of content
Expand the table of content

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


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 4.5
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft