共用方式為


MetadataBuilder.AddMethodDebugInformation(DocumentHandle, BlobHandle) 方法

定義

新增方法偵錯資訊。

public:
 System::Reflection::Metadata::MethodDebugInformationHandle AddMethodDebugInformation(System::Reflection::Metadata::DocumentHandle document, System::Reflection::Metadata::BlobHandle sequencePoints);
public System.Reflection.Metadata.MethodDebugInformationHandle AddMethodDebugInformation (System.Reflection.Metadata.DocumentHandle document, System.Reflection.Metadata.BlobHandle sequencePoints);
member this.AddMethodDebugInformation : System.Reflection.Metadata.DocumentHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.MethodDebugInformationHandle
Public Function AddMethodDebugInformation (document As DocumentHandle, sequencePoints As BlobHandle) As MethodDebugInformationHandle

參數

document
DocumentHandle

單一文件的控制代碼,該文件包含方法的所有序列點;若方法沒有序列點或跨多個文件,則為 null

sequencePoints
BlobHandle

序列點 Blob;若方法沒有序列點,則為 null

傳回

已新增之方法偵錯資訊的控制代碼。

備註

如需 的詳細資訊 sequencePoints,請參閱:GitHub 上的 Sequence Points Blob

適用於