Muokkaa

Jaa


IDebugCustomAttributeQuery2

Determines the existence of a custom attribute for this field and, if it exists, returns the attribute information.

Syntax

IDebugCustomAttributeQuery2 : IDebugCustomAttributeQuery

Notes for Implementers

A symbol provider implements this interface on the same object that implements IDebugField in order to support custom attributes.

Notes for Callers

Use QueryInterface to obtain this interface from the IDebugField interface.

Methods in Vtable Order

The following table shows the methods of the IDebugCustomAttributeQuery interface.

Method Description
IsCustomAttributeDefined Determines whether a custom attribute exists by name.
GetCustomAttributeByName Gets the attribute information for the given custom attribute.

In addition to the IDebugCustomAttributeQuery methods, IDebugCustomAttributeQuery2 implements the following method:

Method Description
EnumCustomAttributes Gets an enumerator for all custom attributes attached to this field.

Remarks

The IEnumDebugCustomAttributes method can return an enumerator for all custom attributes defined for this field.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also