StringPrototype.fontcolor(Object, Object) Méthode

Définition

Convertit l'objet spécifié en texte placé entre balises de police et affecte l'attribut de couleur spécifié à l'élément.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 static System::String ^ fontcolor(System::Object ^ thisob, System::Object ^ colorName);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_fontcolor)]
public static string fontcolor (object thisob, object colorName);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_fontcolor)>]
static member fontcolor : obj * obj -> string
Public Shared Function fontcolor (thisob As Object, colorName As Object) As String

Paramètres

thisob
Object

Objet sur lequel cette méthode agit.

colorName
Object

Attribut de couleur de l'élément de police.

Retours

Chaîne au format "<FONT COLOR=""++"</FONT>"colorName+"">"+thisob.

Attributs

S’applique à

Voir aussi