MetadataBuilder.GetOrAddConstantBlob(Object) 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.
Encodes a constant value to a blob and adds it to the Blob heap, if it's not there already. Uses UTF16 to encode string constants.
public:
System::Reflection::Metadata::BlobHandle GetOrAddConstantBlob(System::Object ^ value);
public System.Reflection.Metadata.BlobHandle GetOrAddConstantBlob (object? value);
public System.Reflection.Metadata.BlobHandle GetOrAddConstantBlob (object value);
member this.GetOrAddConstantBlob : obj -> System.Reflection.Metadata.BlobHandle
Public Function GetOrAddConstantBlob (value As Object) As BlobHandle
Parameters
- value
- Object
The constant value to add.
Returns
A handle to the added or existing blob.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.