TypeDelegator.MetadataToken Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that identifies this entity in metadata.

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

public override int MetadataToken { get; }

Property Value

Type: System.Int32

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

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

.NET Framework
Available since 2.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top