MetadataBuilder.AddCustomDebugInformation Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
- parent
- EntityHandle
Eine Entität, mit der die Debuginformationen angefügt werden sollen: a MethodDefinitionHandle, , , TypeReferenceHandle, TypeDefinitionHandle, ParameterHandle, InterfaceImplementationHandle, , , ModuleReferenceHandle, LocalConstantHandleImportScopeHandleEventDefinitionHandleAssemblyReferenceHandleAssemblyDefinitionHandleTypeSpecificationHandleAssemblyFileHandleGenericParameterConstraintHandleGenericParameterHandleMethodSpecificationHandleManifestResourceHandleDocumentHandleLocalScopeHandleMemberReferenceHandleDeclarativeSecurityAttributeHandleLocalVariableHandleModuleDefinitionHandlePropertyDefinitionHandleStandaloneSignatureHandleExportedTypeHandleFieldDefinitionHandle
- 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.