共用方式為


Marshal.GetTypeFromCLSID(Guid) 方法

定義

傳回與指定的類別識別項 (CLSID) 關聯的類型。

public:
 static Type ^ GetTypeFromCLSID(Guid clsid);
public static Type GetTypeFromCLSID (Guid clsid);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public static Type? GetTypeFromCLSID (Guid clsid);
static member GetTypeFromCLSID : Guid -> Type
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
static member GetTypeFromCLSID : Guid -> Type
Public Shared Function GetTypeFromCLSID (clsid As Guid) As Type

參數

clsid
Guid

要傳回之類型的 CLSID。

傳回

System.__ComObject (不論 CLSID 是否有效)。

屬性

適用於