다음을 통해 공유


IDebugCustomAttributeQuery2::EnumCustomAttributes

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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

Syntax

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

IDebugCustomAttributeQuery2
IEnumDebugCustomAttributes