Επεξεργασία

Κοινή χρήση μέσω


ParameterInfo.MetadataToken Property

Definition

Gets a value that identifies this parameter in metadata.

public:
 virtual property int MetadataToken { int get(); };
public:
 property int MetadataToken { int get(); };
public virtual int MetadataToken { get; }
public int MetadataToken { get; }
member this.MetadataToken : int
Public Overridable ReadOnly Property MetadataToken As Integer
Public ReadOnly Property MetadataToken As Integer

Property Value

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

Remarks

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.

Applies to