Marshal.GetTypeFromCLSID(Guid) Marshal.GetTypeFromCLSID(Guid) Marshal.GetTypeFromCLSID(Guid) Marshal.GetTypeFromCLSID(Guid) Method

定義

傳回與指定的類別識別項 (CLSID) 關聯的類型。Returns the type associated with the specified class identifier (CLSID).

public:
 static Type ^ GetTypeFromCLSID(Guid clsid);
public static Type GetTypeFromCLSID (Guid clsid);
static member GetTypeFromCLSID : Guid -> Type
Public Shared Function GetTypeFromCLSID (clsid As Guid) As Type

參數

clsid
Guid Guid Guid Guid

要傳回之類型的 CLSID。The CLSID of the type to return.

傳回

System.__ComObject (不論 CLSID 是否有效)。System.__ComObject regardless of whether the CLSID is valid.

適用於