Edit

Share via


MetadataBuilder.AddCustomDebugInformation Method

Definition

Adds custom debug information.

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

Parameters

kind
GuidHandle

The information kind. Determines the structure of the value blob.

value
BlobHandle

The custom debug information blob.

Returns

A handle to the added custom debug information.

Exceptions

parent doesn't have the expected handle kind.

Remarks

Entries may be added in any order. The table is automatically sorted when serialized.

Applies to