Click or drag to resize

IJsObjectPropertyCollectionItem Property (String)

Gets or sets a property with the specified name in the current JavaScript object. The name parameter represents JavaScript object's property name.

Namespace:  DotNetBrowser.Js
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.12.0
Syntax
C#
Object this[
	string name
] { get; set; }

Parameters

name
Type: SystemString
The name of the property. Cannot be null or empty.

Property Value

Type: Object
The value associated with the specified name.
Exceptions
ExceptionCondition
ArgumentExceptionThe name is null, empty, or contains only blank characters.
ArgumentException The value is an IJsObject with a different JavaScript context.
ObjectDisposedExceptionThe IJsObject has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
See Also