Share via


MetadataBuilder.AddDocument Metoda

Definice

Přidá informace o ladění dokumentu.

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

Parametry

name
BlobHandle

Objekt blob s názvem dokumentu.

hashAlgorithm
GuidHandle

Identifikátor GUID hashového algoritmu použitého k výpočtu hodnoty hash.

hash
BlobHandle

Hodnota hash obsahu dokumentu.

language
GuidHandle

Identifikátor GUID jazyka.

Návraty

Popisovač přidaného dokumentu.

Poznámky

Další informace o namenajdete v tématu https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-name-blob.

Další informace o společných hodnotách pro najdete v hashAlgorithmtématu https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Další informace o společných hodnotách pro najdete v languagetématu https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

Platí pro