MetadataBuilder.AddDocument Metod

Definition

Lägger till felsökningsinformation för dokument.

public:
 System::Reflection::Metadata::DocumentHandle AddDocument(System::Reflection::Metadata::BlobHandle name, System::Reflection::Metadata::GuidHandle hashAlgorithm, System::Reflection::Metadata::BlobHandle hash, System::Reflection::Metadata::GuidHandle language);
public System.Reflection.Metadata.DocumentHandle AddDocument(System.Reflection.Metadata.BlobHandle name, System.Reflection.Metadata.GuidHandle hashAlgorithm, System.Reflection.Metadata.BlobHandle hash, System.Reflection.Metadata.GuidHandle language);
member this.AddDocument : System.Reflection.Metadata.BlobHandle * System.Reflection.Metadata.GuidHandle * System.Reflection.Metadata.BlobHandle * System.Reflection.Metadata.GuidHandle -> System.Reflection.Metadata.DocumentHandle
Public Function AddDocument (name As BlobHandle, hashAlgorithm As GuidHandle, hash As BlobHandle, language As GuidHandle) As DocumentHandle

Parametrar

name
BlobHandle

Dokumentets namnblob.

hashAlgorithm
GuidHandle

THe GUID för hash-algoritmen som används för att beräkna värdet för hash.

hash
BlobHandle

Hashen för dokumentinnehållet.

language
GuidHandle

SPRÅKETs GUID.

Returer

Ett handtag i det tillagda dokumentet.

Kommentarer

Mer information om namefinns i https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-name-blob.

Mer information om vanliga värden för hashAlgorithmfinns i https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Mer information om vanliga värden för languagefinns i https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Gäller för