MetadataBuilder.AddCustomDebugInformation 方法

定義

新增自訂偵錯資訊。

public:
 System::Reflection::Metadata::CustomDebugInformationHandle AddCustomDebugInformation(System::Reflection::Metadata::EntityHandle parent, System::Reflection::Metadata::GuidHandle kind, System::Reflection::Metadata::BlobHandle value);
public System.Reflection.Metadata.CustomDebugInformationHandle AddCustomDebugInformation (System.Reflection.Metadata.EntityHandle parent, System.Reflection.Metadata.GuidHandle kind, System.Reflection.Metadata.BlobHandle value);
member this.AddCustomDebugInformation : System.Reflection.Metadata.EntityHandle * System.Reflection.Metadata.GuidHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.CustomDebugInformationHandle
Public Function AddCustomDebugInformation (parent As EntityHandle, kind As GuidHandle, value As BlobHandle) As CustomDebugInformationHandle

參數

kind
GuidHandle

資訊種類。 判斷 value Blob 的結構。

value
BlobHandle

自訂偵錯資訊 Blob。

傳回

已新增之自訂偵錯資訊的控制代碼。

例外狀況

parent 沒有預期的控制代碼種類。

備註

專案可以依任何順序新增。 數據表會在串行化時自動排序。

適用於