MetadataBuilder.GetOrAddDocumentName(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 debug document name and adds it to the Blob heap, if it's not there already.
public:
System::Reflection::Metadata::BlobHandle GetOrAddDocumentName(System::String ^ value);
public System.Reflection.Metadata.BlobHandle GetOrAddDocumentName (string value);
member this.GetOrAddDocumentName : string -> System.Reflection.Metadata.BlobHandle
Public Function GetOrAddDocumentName (value As String) As BlobHandle
Parameters
- value
- String
The document name to add.
Returns
A handle to the added or existing document name blob.
Exceptions
value
is null
.
Remarks
For more information about document name blobs, see: https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#DocumentNameBlob
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.