Export (0) Print
Expand All

ScriptObject Methods

Silverlight

The ScriptObject type exposes the following members.

  Name Description
Public method CheckAccess Determines whether the current thread is the browser's UI thread.
Protected method ConvertTo(Type, Boolean) Converts the current scriptable object to a specified type, with serialization support.
Public method ConvertTo<T>() Converts the current scriptable object to a specified type.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Frees resources and performs other cleanup operations before the scriptable object is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty(Int32) Gets the value of a property that is identified by ordinal number on the current scriptable object.
Public method GetProperty(String) Gets the value of a property that is identified by name on the current scriptable object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Infrastructure. Initializes a scriptable object.
Public method Invoke Invokes a method on the current scriptable object, and optionally passes in one or more method parameters.
Public method InvokeSelf Invokes the current ScriptObject and assumes that it represents a JavaScript method.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetProperty(Int32, Object) Sets the value of a property that is identified by ordinal number on the current scriptable object.
Public method SetProperty(String, Object) Sets a property that is identified by name on the current scriptable object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IDynamicMetaObjectProvider.GetMetaObject Returns the DynamicMetaObject responsible for binding operations performed on this object.
Top

Community Additions

ADD
Show:
© 2015 Microsoft