ScriptObjectItem Property (String, Object) |
Gets or sets the value of a named script object property.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntaxpublic Object this[
string name,
params Object[] args
] { get; set; }
Public Default Property Item (
name As String,
ParamArray args As Object()
) As Object
Get
Set
public:
property Object^ default[String^ name, ... array<Object^>^ args] {
Object^ get (String^ name, ... array<Object^>^ args);
void set (String^ name, ... array<Object^>^ args, Object^ value);
}
member Item : Object with get, set
Parameters
- name
- Type: SystemString
The name of the property to get or set. - args
- Type: SystemObject
Optional arguments for property access.
Return Value
Type:
ObjectThe value of the specified property.
See Also