MetadataBuilder.AddLocalConstant(StringHandle, BlobHandle) 方法

定义

添加局部常量调试信息。

public:
 System::Reflection::Metadata::LocalConstantHandle AddLocalConstant(System::Reflection::Metadata::StringHandle name, System::Reflection::Metadata::BlobHandle signature);
public System.Reflection.Metadata.LocalConstantHandle AddLocalConstant (System.Reflection.Metadata.StringHandle name, System.Reflection.Metadata.BlobHandle signature);
member this.AddLocalConstant : System.Reflection.Metadata.StringHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.LocalConstantHandle
Public Function AddLocalConstant (name As StringHandle, signature As BlobHandle) As LocalConstantHandle

参数

name
StringHandle

变量名。

signature
BlobHandle

LocalConstantSig blob。

返回

已添加的局部常量的句柄。

注解

有关 的详细信息 signature,请参阅:GitHub 上的 LocalConstantSig Blob

适用于