MetadataBuilder.AddCustomDebugInformation Methode

Definition

Fügt benutzerdefinierte Debuginformationen hinzu.

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

Parameter

kind
GuidHandle

Die Informationsart. Bestimmt die Struktur des value Blobs.

value
BlobHandle

Das benutzerdefinierte Debuginformations-Blob.

Gibt zurück

Ein Handle für die hinzugefügten benutzerdefinierten Debuginformationen.

Ausnahmen

parent verfügt nicht über den erwarteten Handletyp.

Hinweise

Einträge können in beliebiger Reihenfolge hinzugefügt werden. Die Tabelle wird beim Serialisieren automatisch sortiert.

Gilt für: