_Type.GUID _Type.GUID _Type.GUID _Type.GUID Property

定义

为 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.

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

适用于