TypeBuilder.GUID 属性

定义

检索此类型的 GUID。Retrieves the GUID of this type.

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

属性值

Guid

只读。Read-only. 检索此类型的 GUIDRetrieves the GUID of this type

例外

不完整类型目前不支持此方法。This method is not currently supported for incomplete types.

注解

使用或检索类型 Type.GetType Assembly.GetType ,并对检索到的类型使用反射。Retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

适用于