IDebugCustomAttributeQuery2:: IsCustomAttributeDefined
Determina se un attributo personalizzato esistente per nome.
HRESULT IsCustomAttributeDefined(
LPCOLESTR pszCustomAttributeName
);
int IsCustomAttributeDefined(
[In] string pszCustomAttributeName
);
Parametri
- pszCustomAttributeName
[in] Stringa contenente il nome dell'attributo personalizzato per trovare.
Valore restituito
restituisce S_OK se l'attributo personalizzato è definito su questo campo, altrimenti restituisce S_FALSE.
Note
Per ottenere i byte degli attributi associati con l'attributo personalizzato, chiamare IDebugCustomAttributeQuery2:: GetCustomAttributeByName il metodo.