IDebugCustomAttributeQuery2

确定自定义特性的存在此字段的,则为; 如果存在,则返回属性信息。

IDebugCustomAttributeQuery2 : IDebugCustomAttributeQuery

实现者说明

符号提供程序实现在同一对象的此接口实现 IDebugField 为了支持自定义特性。

调用方的说明

使用 QueryInterfaceIDebugField 接口的此接口。

方法按 Vtable 顺序

下表显示 IDebugCustomAttributeQuery 接口的方法。

方法

说明

IDebugCustomAttributeQuery2:: IsCustomAttributeDefined

确定自定义特性名称是否存在。

IDebugCustomAttributeQuery2:: GetCustomAttributeByName

获取给定自定义的属性信息。

除了 IDebugCustomAttributeQuery 方法之外, IDebugCustomAttributeQuery2 执行以下方法:

方法

说明

IDebugCustomAttributeQuery2:: EnumCustomAttributes

获取所有自定义特性的枚举器附加到此字段。

备注

IEnumDebugCustomAttributes 方法可能会返回了该字段定义的任何自定义属性的枚举数。

要求

标题:sh.h

命名空间:Microsoft.VisualStudio.Debugger.Interop

程序集:Microsoft.VisualStudio.Debugger.Interop.dll

请参见

参考

IDebugField

IEnumDebugCustomAttributes

概念

符号提供程序接口