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)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, 
	JSBuiltin::String_charCodeAt)]
static Object^ charCodeAt(
	Object^ thisob,
	double pos
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

pos
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
Show: