ParameterInfo::MetadataToken Property

 
System_CAPS_noteNote

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 parameter in metadata.

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

public:
property int MetadataToken {
	virtual int get();
}

Property Value

Type: System::Int32

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

To get the module, use the Module property of the member that defines this parameter.

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

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