Редактиране

Споделяне чрез


TypeDelegator.MetadataToken Property

Definition

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

Property Value

A value which, in combination with the module, uniquely identifies this entity in metadata.

Remarks

The tokens obtained using this property can be passed to the unmanaged reflection API. For more information, see Unmanaged Reflection API.

Applies to