StringPrototype.charCodeAt(Object, Double) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Retourneert de ASCII-code van het teken op de opgegeven positie in het opgegeven object.
Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.
public:
static System::Object ^ charCodeAt(System::Object ^ thisob, double pos);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_charCodeAt)]
public static object charCodeAt(object thisob, double pos);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_charCodeAt)>]
static member charCodeAt : obj * double -> obj
Public Shared Function charCodeAt (thisob As Object, pos As Double) As Object
Parameters
- thisob
- Object
Het object waarop deze methode handelt.
- pos
- Double
De positie van het teken waarvan u de code wilt retourneren.
Retouren
De code van het teken op pos, als er een is.
- Kenmerken