/// <summary>
/// Gets an object's property.
/// </summary>
/// <remarks>
/// Requires an active script context.
/// </remarks>
/// <param name="id">The ID of the property.</param>
/// <returns>The value of the property.</returns>
public JavaScriptValue GetProperty(JavaScriptPropertyId id)
{
JavaScriptValue propertyReference;
Native.ThrowIfError(Native.JsGetProperty(this, id, out propertyReference));
return(propertyReference);
}