Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Marshal.GetTypeFromCLSID Method

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

Namespace:  System.Runtime.InteropServices
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  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.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft