ColorConverter.ConvertFromString(String) Méthode

Définition

Tente de convertir une chaîne en Color.

public:
 static System::Object ^ ConvertFromString(System::String ^ value);
public static object ConvertFromString (string value);
static member ConvertFromString : string -> obj
Public Shared Function ConvertFromString (value As String) As Object

Paramètres

value
String

Chaîne à convertir en Color.

Retours

Object

Color qui représente le texte converti.

Exceptions

value ne correspond pas à la représentation sous forme de chaîne d’une couleur.

S’applique à