TypeBuilder.GUID TypeBuilder.GUID TypeBuilder.GUID TypeBuilder.GUID Property

定义

检索此类型的 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

属性值

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

异常

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

注解

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

适用于