MetadataBuilder.GetOrAddBlobUTF16(String) 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 string using UTF16 encoding to a blob and adds it to the Blob heap, if it's not there already.
public:
System::Reflection::Metadata::BlobHandle GetOrAddBlobUTF16(System::String ^ value);
public System.Reflection.Metadata.BlobHandle GetOrAddBlobUTF16 (string value);
member this.GetOrAddBlobUTF16 : string -> System.Reflection.Metadata.BlobHandle
Public Function GetOrAddBlobUTF16 (value As String) As BlobHandle
Parameters
- value
- String
The string to add.
Returns
A handle to the added or existing blob.
Exceptions
value
is null
.
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.