Click or drag to resize
JSObject Class

[This is preliminary documentation and is subject to change.]

Represents a javascript object in the render process to be added as a property to a browser frame's global object or to another JSObject.
Inheritance Hierarchy
SystemObject
  Chromium.WebBrowserJSProperty
    Chromium.WebBrowserJSObject

Namespace: Chromium.WebBrowser
Assembly: ChromiumWebBrowser (in ChromiumWebBrowser.dll)
Syntax
public class JSObject : JSProperty, IDictionary<string, JSProperty>, 
	ICollection<KeyValuePair<string, JSProperty>>, IEnumerable<KeyValuePair<string, JSProperty>>, 
	IEnumerable

The JSObject type exposes the following members.

Constructors
  NameDescription
Public methodJSObject
Creates a new javascript object to be added as a property to a browser frame's global object or a child object.
Public methodJSObject(JSInvokeMode)
Creates a new javascript object to be added as a property to a browser frame's global object or a child object.
Top
Properties
  NameDescription
Public propertyBrowser
The browser this javascript property or the parent javascript object belongs to. May be null if this property or it's parent is still unbound.
(Inherited from JSProperty.)
Public propertyCount
Gets the number of properties contained in this javascript object.
Public propertyInvokeMode
The invoke mode for this property. See also JSInvokeMode. Changes to the invoke mode will be effective after the next time the browser creates a V8 context for the target frame.
(Inherited from JSProperty.)
Public propertyIsReadOnly
Always false.
Public propertyItem
Gets or sets the property with the specified name.
Public propertyKeys
Gets a collection containing the property names in this javascript object.
Public propertyName
The name of this property. May be null if this property is still unbound.
(Inherited from JSProperty.)
Public propertyParent
The parent javascript object of this property. May be null if this property is still unbound.
(Inherited from JSProperty.)
Public propertyPropertyType
The type of this property.
(Inherited from JSProperty.)
Public propertyValues
Gets a collection containing the properties in this javascript object.
Public propertyWillInvoke
Indicates whether render process callbacks on this javascript property will be executed on the thread that owns the browser's underlying window handle. Depends on the invoke mode and, if invoke mode is inherit, also on the parent object's and/or browser's invoke mode.
(Inherited from JSProperty.)
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairString, JSProperty)
Not supported.
Public methodAdd(String, JSProperty)
Adds the specified javascript property to this object.
Public methodAddDynamicProperty(String)
Add a dynamic javascript property to this object.
Public methodAddDynamicProperty(String, JSInvokeMode)
Add a dynamic javascript property to this object.
Public methodAddFunction(String)
Add a javascript function as a property to this object.
Public methodAddFunction(String, JSInvokeMode)
Add a javascript function as a property to this object.
Public methodAddObject(String)
Add another javascript object as a property to this object.
Public methodAddObject(String, JSInvokeMode)
Add another javascript object as a property to this object.
Public methodClear
Removes all properties from this javascript object.
Public methodContains
Not supported.
Public methodContainsKey
Determines whether this javascript object contains a property with the specified name.
Public methodCopyTo
Not supported.
Public methodGetEnumerator
Returns an enumerator that iterates through the properties in this javascript object.
Public methodRemove(KeyValuePairString, JSProperty)
Not supported.
Public methodRemove(String)
Removes the property with the specified name from this javascript object.
Public methodTryGetValue
Gets the property with the specified name.
Top
See Also