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

適用対象