Share via


MetadataBuilder.AddDocument 메서드

정의

문서 디버그 정보를 추가합니다.

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

매개 변수

name
BlobHandle

문서 이름 Blob입니다.

hashAlgorithm
GuidHandle

hash 값을 계산하는 데 사용되는 해시 알고리즘의 GUID입니다.

hash
BlobHandle

문서 콘텐츠의 해시입니다.

language
GuidHandle

언어의 GUID입니다.

반환

추가된 문서에 대한 핸들입니다.

설명

name에 대한 자세한 내용은 https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-name-blob을 참조하세요.

의 일반적인 값에 대한 자세한 내용은 를 hashAlgorithm참조하세요 https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

의 일반적인 값에 대한 자세한 내용은 를 language참조하세요 https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#document-table-0x30.

적용 대상