Skip to content

JsGetStringLength

Limin Zhu edited this page Oct 9, 2015 · 1 revision

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.

Clone this wiki locally