Partilhar via


IDebugCustomAttribute::GetAttributeTypeField

Gets the custom attribute class type.

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

Reference

IDebugCustomAttribute

IDebugClassField