Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Visual Studio
Visual Studio for Mac
Note
This article applies to Visual Studio 2017. 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.
HRESULT EnumCustomAttributes(
IEnumDebugCustomAttributes** ppEnum
);
int EnumCustomAttributes(
out IEnumDebugCustomAttributes ppEnum
);
ppEnum
[out] Returns an IEnumDebugCustomAttributes object representing the list of custom attributes; otherwise, returns a null value if there are no custom attributes.
If successful, returns S_OK or S_FALSE if there are no custom attributes on this field. Otherwise, returns an error code;
A field can have multiple custom attributes.