ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptObject Interface
IScriptObject Properties
IScriptObject Methods

# IScriptObject Interface

Represents a script object.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public interface IScriptObject : IDisposable

    Public Interface IScriptObject
    	Inherits IDisposable

    public interface class IScriptObject : IDisposable

    type IScriptObject =
        interface
            interface IDisposable
        end

The IScriptObject type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Engine | Gets the script engine that owns the object.
| ItemInt32 | Gets or sets the value of an indexed script object property.
| ItemString, Object | Gets or sets the value of a named script object property.
| PropertyIndices | Enumerates the script object's property indices.
| PropertyNames | Enumerates the script object's property names.

Top
Methods

| Name | Description
--- | --- | ---
| DeleteProperty(Int32) | Removes an indexed script object property.
| DeleteProperty(String) | Removes a named script object property.
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable)
| GetProperty(Int32) | Gets the value of an indexed script object property.
| GetProperty(String, Object) | Gets the value of a named script object property.
| Invoke | Invokes the script object.
| InvokeAsFunction | Invokes the script object as a function.
| InvokeMethod | Invokes a script object method.
| SetProperty(Int32, Object) | Sets the value of an indexed script object property.
| SetProperty(String, Object) | Sets the value of a named script object property.

Top
See Also

#### Reference

Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft