Table of Contents

Property this

Namespace
DotNetBrowser.Js
Assembly
DotNetBrowser.dll

this[string]

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

object this[string name] { get; set; }

Parameters

name string

The name of the property. Cannot be null or empty.

Property Value

object

The value associated with the specified name.

Exceptions

ArgumentException

The name is null, empty, or contains only blank characters.

ArgumentException

The value is an IJsObject with a different JavaScript context.

ObjectDisposedException

The IJsObject has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.

this[uint]

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

object this[uint index] { get; set; }

Parameters

index uint

The index of the property. Cannot be null or empty.

Property Value

object

The value associated with the specified name.

Exceptions

ArgumentException

The value is an IJsObject with a different JavaScript context.

ObjectDisposedException

The IJsObject has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.