ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptObject Class
ScriptObject Methods
SetProperty Method
SetProperty(Int32, Object) Method
SetProperty(String, Object[]) Method

# ScriptObjectSetProperty(Int32, Object) Method

Sets the value of an indexed script object property.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public abstract void SetProperty(
    	int index,
    	Object value
    )

    Public MustOverride Sub SetProperty (
    	index As Integer,
    	value As Object
    )

    public:
    virtual void SetProperty(
    	int index,
    	Object^ value
    ) abstract

    abstract SetProperty :
            index : int *
            value : Object -> unit

#### Parameters

index Int32
  The index of the property to set.
value Object
  The new property value.

#### Implements

IScriptObjectSetProperty(Int32, Object)
See Also

#### Reference

ScriptObject Class
SetProperty Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft