Aracılığıyla paylaş


MetadataBuilder.AddDocument Yöntem

Tanım

Belge hata ayıklama bilgilerini ekler.

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

Parametreler

name
BlobHandle

Belge adı blobu.

hashAlgorithm
GuidHandle

değerini hesaplamak için kullanılan karma algoritmasının GUID değeri hash.

hash
BlobHandle

Belge içeriğinin karması.

language
GuidHandle

Dilin GUID değeri.

Döndürülenler

Eklenen belgenin tutamacı.

Açıklamalar

hakkında namedaha fazla bilgi için bkz https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-name-blob. .

için ortak değerler hakkında daha fazla bilgi için hashAlgorithmbkz https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30. .

için ortak değerler hakkında daha fazla bilgi için languagebkz https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30. .

Şunlara uygulanır