Muokkaa

Jaa


ModuleBuilder.GetSignatureToken Method

Definition

Defines a signature token.

Overloads

GetSignatureToken(Byte[], Int32)

Defines a token for the signature that has the specified character array and signature length.

GetSignatureToken(SignatureHelper)

Defines a token for the signature that is defined by the specified SignatureHelper.

GetSignatureToken(Byte[], Int32)

Defines a token for the signature that has the specified character array and signature length.

public:
 System::Reflection::Emit::SignatureToken GetSignatureToken(cli::array <System::Byte> ^ sigBytes, int sigLength);
public System.Reflection.Emit.SignatureToken GetSignatureToken (byte[] sigBytes, int sigLength);
member this.GetSignatureToken : byte[] * int -> System.Reflection.Emit.SignatureToken
Public Function GetSignatureToken (sigBytes As Byte(), sigLength As Integer) As SignatureToken

Parameters

sigBytes
Byte[]

The signature binary large object (BLOB).

sigLength
Int32

The length of the signature BLOB.

Returns

A token for the specified signature.

Exceptions

sigBytes is null.

Applies to

GetSignatureToken(SignatureHelper)

Defines a token for the signature that is defined by the specified SignatureHelper.

public:
 System::Reflection::Emit::SignatureToken GetSignatureToken(System::Reflection::Emit::SignatureHelper ^ sigHelper);
public System.Reflection.Emit.SignatureToken GetSignatureToken (System.Reflection.Emit.SignatureHelper sigHelper);
member this.GetSignatureToken : System.Reflection.Emit.SignatureHelper -> System.Reflection.Emit.SignatureToken
Public Function GetSignatureToken (sigHelper As SignatureHelper) As SignatureToken

Parameters

sigHelper
SignatureHelper

The signature.

Returns

A token for the defined signature.

Exceptions

sigHelper is null.

Remarks

This method defines a metadata token for the signature described by sigHelper.

Applies to