共用方式為


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

適用於