Compartilhar via


IDebugCustomAttributeQuery2::EnumCustomAttributes

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

HRESULT EnumCustomAttributes( 
   IEnumDebugCustomAttributes** ppEnum
);
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

Reference

IDebugCustomAttributeQuery2

IEnumDebugCustomAttributes