Module.ResolveSignature(Int32) Module.ResolveSignature(Int32) Module.ResolveSignature(Int32) Module.ResolveSignature(Int32) Method

定义

返回由元数据令牌标识的签名 Blob。Returns the signature blob identified by a metadata token.

public:
 cli::array <System::Byte> ^ ResolveSignature(int metadataToken);
public byte[] ResolveSignature (int metadataToken);
member this.ResolveSignature : int -> byte[]
Public Function ResolveSignature (metadataToken As Integer) As Byte()

参数

metadataToken
Int32 Int32 Int32 Int32

一个元数据令牌,用于标识模块中的一个签名。A metadata token that identifies a signature in the module.

返回

Byte[]

一个字节数组,表示签名 Blob。An array of bytes representing the signature blob.

异常

metadataToken 不是当前模块范围内的有效 MemberRefMethodDefTypeSpec、签名或 FieldDef 令牌。metadataToken is not a valid MemberRef, MethodDef, TypeSpec, signature, or FieldDef token in the scope of the current module.

metadataToken 不是当前模块范围内的有效令牌。metadataToken is not a valid token in the scope of the current module.

注解

备注

有关元数据标记和签名的信息,请参阅公共语言基础结构(CLI)文档,尤其是 "第二部分:元数据定义和语义 "。Information about metadata tokens and signatures can be found in the Common Language Infrastructure (CLI) documentation, especially "Partition II: Metadata Definition and Semantics". 文档在线提供;请参阅在 ECMA 网站上的 MSDN 和标准 ecma-335-公共语言基础结构(CLI)上的ECMA C#和公共语言基础结构标准The documentation is available online; see ECMA C# and Common Language Infrastructure Standards on MSDN and Standard ECMA-335 - Common Language Infrastructure (CLI) on the ECMA Web site.

适用于