Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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