MetadataBuilder.AddCustomDebugInformation メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
カスタム デバッグ情報を追加します。
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
パラメーター
- parent
- EntityHandle
デバッグ情報をアタッチするエンティティ: MethodDefinitionHandle、 FieldDefinitionHandle、 TypeReferenceHandle、 TypeDefinitionHandle、 ParameterHandle、 InterfaceImplementationHandle、 MemberReferenceHandle、 ModuleDefinitionHandle、 DeclarativeSecurityAttributeHandle、 PropertyDefinitionHandle、 EventDefinitionHandle、 StandaloneSignatureHandle、 ModuleReferenceHandle、 TypeSpecificationHandle、 AssemblyDefinitionHandle、 AssemblyReferenceHandle、 AssemblyFileHandle、 ExportedTypeHandle、 ManifestResourceHandle、 GenericParameterHandle、 GenericParameterConstraintHandle、 MethodSpecificationHandle、 DocumentHandle、 LocalScopeHandle、 LocalVariableHandle、 LocalConstantHandle、または ImportScopeHandle。
- kind
- GuidHandle
情報の種類。
value BLOB の構造を決定します。
- value
- BlobHandle
カスタム デバッグ情報 BLOB。
返品
追加されたカスタム デバッグ情報のハンドル。
例外
parent には、予期されるハンドルの種類がありません。
注釈
エントリは任意の順序で追加できます。 シリアル化されると、テーブルは自動的に並べ替えられます。