IDebugCustomAttribute::GetAttributeTypeField

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 the custom attribute class type.

Syntax

HRESULT GetAttributeTypeField(   
   IDebugClassField** ppCAType  
);  
int GetAttributeTypeField(  
   out IDebugClassField ppCAType  
);  

Parameters

ppCAType
[out] Returns the IDebugClassField object that represents the class of which the custom attribute is an instance.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

A custom attribute is always a class. This method provides access to an IDebugClassField object that describes that class.

See Also

IDebugCustomAttribute
IDebugClassField