Freigeben über


IDebugMethodField::IsCustomAttributeDefined

Determines whether a specific custom attribute has been defined.

HRESULT IsCustomAttributeDefined( 
   LPCOLESTR pszCustomAttributeName
);
int IsCustomAttributeDefined(
   [In] string pszCustomAttributeName
);

Parameters

  • pszCustomAttributeName
    [in] A string containing the name of the custom attribute to find.

Return Value

Returns S_OK if the custom attribute is defined on this method, otherwise returns S_FALSE.

See Also

Reference

IDebugMethodField