_Type.GUID 属性

定义

为 COM 对象提供对 GUID 属性的与版本无关的访问。Provides COM objects with version-independent access to the GUID property.

public:
 property Guid GUID { Guid get(); };
public Guid GUID { get; }
member this.GUID : Guid
Public ReadOnly Property GUID As Guid

属性值

获取与 Type 关联的 GUID。The GUID associated with the Type.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

属性获取与关联的 GUID。 Type Type.GUIDThe Type.GUID property gets the GUID associated with the Type.

适用于