Bewerken

Share via


ModuleBuilder.GetSignatureMetadataToken(SignatureHelper) Method

Definition

When overridden in a derived class, returns the metadata token for the given SignatureHelper relative to the Module.

public:
 abstract int GetSignatureMetadataToken(System::Reflection::Emit::SignatureHelper ^ signature);
public abstract int GetSignatureMetadataToken (System.Reflection.Emit.SignatureHelper signature);
abstract member GetSignatureMetadataToken : System.Reflection.Emit.SignatureHelper -> int
Public MustOverride Function GetSignatureMetadataToken (signature As SignatureHelper) As Integer

Parameters

signature
SignatureHelper

The SignatureHelper for which to retrieve the token.

Returns

An integer representing the metadata token.

Remarks

Tokens are used to identify objects when the objects are used in IL instructions. Tokens are always relative to the Module.

Applies to