Click or drag to resize

IScriptObject Interface

Represents a script object.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.4
Syntax
public interface IScriptObject : IDisposable

The IScriptObject type exposes the following members.

Properties
 NameDescription
Public propertyEngine Gets the script engine that owns the object.
Public propertyItemInt32 Gets or sets the value of an indexed script object property.
Public propertyItemString, Object Gets or sets the value of a named script object property.
Public propertyPropertyIndices Enumerates the script object's property indices.
Public propertyPropertyNames Enumerates the script object's property names.
Top
Methods
 NameDescription
Public methodDeleteProperty(Int32) Removes an indexed script object property.
Public methodDeleteProperty(String) Removes a named script object property.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetProperty(Int32) Gets the value of an indexed script object property.
Public methodGetProperty(String, Object) Gets the value of a named script object property.
Public methodInvoke Invokes the script object.
Public methodInvokeAsFunction Invokes the script object as a function.
Public methodInvokeMethod Invokes a script object method.
Public methodSetProperty(Int32, Object) Sets the value of an indexed script object property.
Public methodSetProperty(String, Object) Sets the value of a named script object property.
Top
See Also