TypeDelegator.MetadataToken 属性

定义

获取一个标识元数据中的此实体的值。Gets a value that identifies this entity in metadata.

public:
 virtual property int MetadataToken { int get(); };
public override int MetadataToken { get; }
member this.MetadataToken : int
Public Overrides ReadOnly Property MetadataToken As Integer

属性值

一个值,与模块一起来唯一标识元数据中的此实体。A value which, in combination with the module, uniquely identifies this entity in metadata.

注解

使用此属性获取的令牌可传递给非托管反射 API。The tokens obtained using this property can be passed to the unmanaged reflection API. 有关详细信息, 请参阅非托管反射 APIFor more information, see Unmanaged Reflection API.

适用于