charCodeAt Method

StringPrototype.charCodeAt Method (Object, Double)


This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the ASCII code of the character at the specified position in the specified object.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[JSFunctionAttribute(JSFunctionAttributeEnum.HasThisObject, JSBuiltin.String_charCodeAt)]
public static object charCodeAt(
	object thisob,
	double pos


Type: System.Object

The object that this method is acting upon.

Type: System.Double

The position of the character whose code you want to return.

Return Value

Type: System.Object

The code of the character at pos, if there is one.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft