Table of Contents

Method Contains

Namespace
DotNetBrowser.Js
Assembly
DotNetBrowser.dll

Contains(string)

Checks whether the JavaScript object has a property or function with the specified name.

bool Contains(string name)

Parameters

name string

The name of the property or function.

Returns

bool

true if the object has a property or function with the specified name.

Exceptions

ObjectDisposedException

The IJsObject has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.

Contains(uint)

Checks whether the JavaScript object has a property with the specified index.

bool Contains(uint index)

Parameters

index uint

The index of the property.

Returns

bool

true if the object has a property with the given index.

Exceptions

ObjectDisposedException

The IJsObject has already been disposed.

ConnectionClosedException

The connection to the Chromium engine is closed.