Module.MetadataToken Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a token that identifies the module in metadata.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public Overridable ReadOnly Property MetadataToken As Integer
public virtual int MetadataToken { get; }

Property Value

Type: System..::.Int32
An integer token that identifies the current module in metadata.

Remarks

Note

Information about metadata tokens can be found in the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics". The documentation is available online; see ECMA C# and Common Language Infrastructure Standards on MSDN and Standard ECMA-335 - Common Language Infrastructure (CLI) on the ECMA Web site.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Module Class

System.Reflection Namespace