ColorableItem.GetDisplayName(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le nom de cet élément coloriable.
public:
virtual int GetDisplayName([Runtime::InteropServices::Out] System::String ^ % name);
virtual int GetDisplayName([Runtime::InteropServices::Out] std::wstring const & & name);
public virtual int GetDisplayName (out string name);
abstract member GetDisplayName : string -> int
override this.GetDisplayName : string -> int
Public Overridable Function GetDisplayName (ByRef name As String) As Integer
Paramètres
- name
- String
[out] Nom de l'élément coloriable.
Retours
En cas de réussite, retourne S_OK , sinon, retourne un code d'erreur.
Implémente
Remarques
Le nom retourné est celui passé au constructeur en tant que nom complet.
La méthode de base retourne toujours S_OK .