Click or drag to resize

ScriptObjectSetProperty Method (String, Object)

Sets the value of a named script object property.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public abstract void SetProperty(
	string name,
	params Object[] args
)

Parameters

name
Type: SystemString
The name of the property to set.
args
Type: SystemObject
An array containing optional arguments and the new property value.
Remarks
The args array must contain at least one element. The new property value must be the last element of the array.
See Also