Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
Gets the length of a string value.
Syntax
STDAPI_(JsErrorCode) JsGetStringLength(
_In_ JsValueRef stringValue,
_Out_ int *length
);
Parameters
stringValue
The string value to get the length of.
length
The length of the string.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h