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

信息类型。 确定 Blob 的结构 value

value
BlobHandle

自定义调试信息 blob。

返回

已添加的自定义调试信息的句柄。

例外

parent 没有预期的句柄类型。

注解

可以按任意顺序添加条目。 序列化时会自动对表进行排序。

适用于