MetadataBuilder.AddDocument Methode

Definition

Fügt Dokumentdebuginformationen hinzu.

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

Parameter

name
BlobHandle

Der Dokumentname-BLOB.

hashAlgorithm
GuidHandle

THe GUID des Hashalgorithmus zum Berechnen des Werts von hash.

hash
BlobHandle

Der Hash des Dokumentinhalts.

language
GuidHandle

Die GUID der Sprache.

Gibt zurück

Ein Handle für das hinzugefügte Dokument.

Hinweise

Weitere Informationen zu name finden Sie unter https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-name-blob.

Weitere Informationen zu allgemeinen Werten finden hashAlgorithmSie unter https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Weitere Informationen zu allgemeinen Werten finden languageSie unter https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Gilt für: