private JsGetOwnPropertyNames ( |
||
obj | ||
propertyNames | ||
리턴 | JavaScriptErrorCode |
/// <summary> /// Gets the list of all properties on the object. /// </summary> /// <remarks> /// Requires an active script context. /// </remarks> /// <returns>An array of property names.</returns> public JavaScriptValue GetOwnPropertyNames() { JavaScriptValue propertyNamesReference; Native.ThrowIfError(Native.JsGetOwnPropertyNames(this, out propertyNamesReference)); return(propertyNamesReference); }