MetadataBuilder.GetOrAddBlobUTF16(String) 方法
定义
使用 UTF16 编码向 blob 编码字符串,并将其添加到 Blob 堆(如果尚不存在)。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
参数
- value
- String
要添加的字符串。The string to add.
返回
已添加的或现有的 blob 的句柄。A handle to the added or existing blob.
例外
value 为 null。value is null.