StringPrototype.fontcolor(Object, Object) Método

Definición

Convierte el objeto especificado en texto entre etiquetas de fuente y asigna al elemento el atributo de color especificado.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

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

Parámetros

thisob
Object

Objeto en el que actúa este método.

colorName
Object

Atributo de color del elemento de fuente.

Devoluciones

Cadena con el formato "<FONT COLOR=""++"</FONT>"colorName+"">"+thisob.

Atributos

Se aplica a

Consulte también