/// <summary>
/// Retrieves the object representation of an <c>Object</c> value.
/// </summary>
/// <remarks>
/// Requires an active script context.
/// </remarks>
/// <returns>The object representation of the value.</returns>
public object ToObject()
{
object value;
Native.ThrowIfError(Native.JsValueToVariant(this, out value));
return(value);
}