private JsPointerToString ( string value, |
||
value | string | |
stringLength | ||
stringValue | ||
Résultat | JsErrorCode |
/// <summary> /// Creates a <c>String</c> value from a string pointer /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <param name="value">The string to convert to a <c>String</c> value</param> /// <returns>The new <c>String</c> value</returns> public static IeJsValue FromString(string value) { IeJsValue reference; IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsPointerToString(value, new UIntPtr((uint)value.Length), out reference)); return(reference); }