IDebugCustomAttributeQuery2::EnumCustomAttributes

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

Syntax

int EnumCustomAttributes(
   out IEnumDebugCustomAttributes ppEnum
);

Parameters

ppEnum
[out] Returns an IEnumDebugCustomAttributes object representing the list of custom attributes; otherwise, returns a null value if there are no custom attributes.

Return Value

If successful, returns S_OK or S_FALSE if there are no custom attributes on this field. Otherwise, returns an error code;

Remarks

A field can have multiple custom attributes.

See also