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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.