Share via


ColorHelper.ToDisplayName(Color) Méthode

Définition

Récupère le nom d’affichage de la couleur spécifiée.

public:
 static Platform::String ^ ToDisplayName(Color color);
 static winrt::hstring ToDisplayName(Color const& color);
public static string ToDisplayName(Color color);
function toDisplayName(color)
Public Shared Function ToDisplayName (color As Color) As String

Paramètres

color
Color

Couleur pour laquelle obtenir le nom.

Retours

String

Platform::String

winrt::hstring

Nom d’affichage localisé de la couleur.

Configuration requise pour Windows

Famille d’appareils
Windows 10 Creators Update (introduit dans 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v4.0)

S’applique à