Editare

Partajați prin


MetadataBuilder.AddLocalConstant(StringHandle, BlobHandle) Method

Definition

Adds local constant debug information.

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

Parameters

name
StringHandle

The name of the variable.

signature
BlobHandle

The LocalConstantSig blob.

Returns

A handle to the added local constant.

Remarks

For more information about signature, see: LocalConstantSig Blob on GitHub.

Applies to