Partager via


ModuleBuilder.GetSignatureToken Method (array<Byte[], Int32)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Function GetSignatureToken ( _
    sigBytes As Byte(), _
    sigLength As Integer _
) As SignatureToken
[SecuritySafeCriticalAttribute]
public SignatureToken GetSignatureToken(
    byte[] sigBytes,
    int sigLength
)

Parameters

  • sigBytes
    Type: array<System.Byte[]
    The signature binary large object (BLOB).
  • sigLength
    Type: System.Int32
    The length of the signature BLOB.

Return Value

Type: System.Reflection.Emit.SignatureToken
A token for the specified signature.

Exceptions

Exception Condition
ArgumentNullException

sigBytes is nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.