MetadataBuilder.AddCustomDebugInformation Metoda
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Dodaje niestandardowe informacje o debugowaniu.
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
Parametry
- parent
- EntityHandle
Jednostka do dołączania informacji debugowania do: a MethodDefinitionHandle, , TypeReferenceHandleDocumentHandleModuleDefinitionHandleMemberReferenceHandleInterfaceImplementationHandleDeclarativeSecurityAttributeHandleParameterHandleTypeDefinitionHandleFieldDefinitionHandlePropertyDefinitionHandleEventDefinitionHandleAssemblyFileHandleAssemblyReferenceHandleExportedTypeHandleAssemblyDefinitionHandleManifestResourceHandleTypeSpecificationHandleGenericParameterHandleGenericParameterConstraintHandleModuleReferenceHandleStandaloneSignatureHandleLocalScopeHandleLocalVariableHandleMethodSpecificationHandleLocalConstantHandlelub .ImportScopeHandle
- kind
- GuidHandle
Rodzaj informacji. Określa strukturę value obiektu blob.
- value
- BlobHandle
Niestandardowy obiekt blob informacji o debugowaniu.
Zwraca
Dojście do dodanych niestandardowych informacji o debugowaniu.
Wyjątki
parent nie ma oczekiwanego rodzaju uchwytu.
Uwagi
Wpisy mogą być dodawane w dowolnej kolejności. Tabela jest automatycznie sortowana po serializacji.