Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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
Determines whether a specific custom attribute has been defined.
Syntax
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.