ScriptObject Class
Silverlight
Defines the core behavior for the HtmlObject class, and provides a base class for browser Document Object Model (DOM) access types.
System.Object
System.Windows.Browser.ScriptObject
System.Windows.Browser.HtmlObject
System.Windows.Browser.ScriptObjectCollection
System.Windows.Browser.ScriptObject
System.Windows.Browser.HtmlObject
System.Windows.Browser.ScriptObjectCollection
Namespace: System.Windows.Browser
Assembly: System.Windows.Browser (in System.Windows.Browser.dll)
The ScriptObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Dispatcher | Gets an instance of the dispatcher. |
![]() | ManagedObject | Gets the underlying managed object reference of the ScriptObject. |
| Name | Description | |
|---|---|---|
![]() | CheckAccess | Determines whether the current thread is the browser's UI thread. |
![]() | ConvertTo(Type, Boolean) | Converts the current scriptable object to a specified type, with serialization support. |
![]() | ConvertTo(Of T) | Converts the current scriptable object to a specified type. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Frees resources and performs other cleanup operations before the scriptable object is reclaimed by garbage collection. (Overrides Object.Finalize.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperty(Int32) | Gets the value of a property that is identified by ordinal number on the current scriptable object. |
![]() | GetProperty(String) | Gets the value of a property that is identified by name on the current scriptable object. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Infrastructure. Initializes a scriptable object. |
![]() | Invoke | Invokes a method on the current scriptable object, and optionally passes in one or more method parameters. |
![]() | InvokeSelf | Invokes the current ScriptObject and assumes that it represents a JavaScript method. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetProperty(Int32, Object) | Sets the value of a property that is identified by ordinal number on the current scriptable object. |
![]() | SetProperty(String, Object) | Sets a property that is identified by name on the current scriptable object. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IDynamicMetaObjectProvider.GetMetaObject | Returns the DynamicMetaObject responsible for binding operations performed on this object. |
All browser objects are represented by the ScriptObject class. This includes standard JavaScript and DOM objects, as well as windows (HtmlWindow), documents (HtmlDocument), elements (HtmlElement), element collections (ScriptObjectCollection), and even managed objects (ManagedObject, which is an internal type) that are used inside the browser.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:
