private JsBoolToBoolean ( bool value, |
||
value | bool | |
booleanValue | ||
return | JsErrorCode |
/// <summary> /// Creates a <c>Boolean</c> value from a <c>bool</c> value /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <param name="value">The value to be converted</param> /// <returns>The converted value</returns> public static IeJsValue FromBoolean(bool value) { IeJsValue reference; IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsBoolToBoolean(value, out reference)); return(reference); }