MetadataBuilder.AddLocalConstant(StringHandle, BlobHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.