StringPrototype.fontcolor(Object, Object) Method

Definition

Converts the specified object to text enclosed in font tags, and gives the element the specified color attribute.

This API supports the product infrastructure and is not intended to be used directly from your 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

Parameters

thisob
Object

The object that this method is acting upon.

colorName
Object

The color attribute of the font element.

Returns

A string in the form "<FONT COLOR=""+colorName+"">"+thisob+"</FONT>".

Attributes

Applies to

See also