JsGetIndexedProperty() private method

private JsGetIndexedProperty ( JavaScriptValue obj, JavaScriptValue index, JavaScriptValue &result ) : JavaScriptErrorCode
obj JavaScriptValue
index JavaScriptValue
result JavaScriptValue
return JavaScriptErrorCode
コード例 #1
0
        /// <summary>
        /// Retrieve the value at the specified index of an object.
        /// </summary>
        /// <remarks>
        /// Requires an active script context.
        /// </remarks>
        /// <param name="index">The index to retrieve.</param>
        /// <returns>The retrieved value.</returns>
        public JavaScriptValue GetIndexedProperty(JavaScriptValue index)
        {
            JavaScriptValue propertyReference;

            Native.ThrowIfError(Native.JsGetIndexedProperty(this, index, out propertyReference));
            return(propertyReference);
        }