System.Reflection.MemberInfo.MetadataToken Property

Gets a value that identifies a metadata element.

Syntax

public virtual int MetadataToken { get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Note:

Using the unmanaged reflection API requires familiarity with the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics" and "Partition III: CIL Instruction Set". The documentation is available online; see tp://go.microsoft.com/fwlink/?LinkID=99212 on MSDN and tp://go.microsoft.com/fwlink/?LinkID=65552 on the Ecma International Web site.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0