Table of Contents

Class BsonJavaScriptWithScope

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

Represents a BSON JavaScript value with a scope.

public class BsonJavaScriptWithScope : BsonJavaScript, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonJavaScript>, IEquatable<BsonJavaScript>, IComparable<BsonJavaScriptWithScope>, IEquatable<BsonJavaScriptWithScope>
Inheritance
BsonJavaScriptWithScope
Implements
Inherited Members
Extension Methods

Constructors

BsonJavaScriptWithScope(string, BsonDocument)

Initializes a new instance of the BsonJavaScriptWithScope class.

Properties

BsonType

Gets the BsonType of this BsonValue.

Scope

Gets the scope (a set of variables with values).

Methods

Clone()

Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone).

CompareTo(BsonJavaScriptWithScope)

Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.

CompareTo(BsonValue)

Compares the BsonJavaScriptWithScope to another BsonValue.

Create(object)

Creates a new BsonJavaScriptWithScope.

DeepClone()

Creates a deep clone of the BsonJavaScriptWithScope (see also Clone).

Equals(BsonJavaScriptWithScope)

Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.

Equals(object)

Compares this BsonJavaScriptWithScope to another object.

GetHashCode()

Gets the hash code.

ToString()

Returns a string representation of the value.

Operators

operator ==(BsonJavaScriptWithScope, BsonJavaScriptWithScope)

Compares two BsonJavaScriptWithScope values.

operator !=(BsonJavaScriptWithScope, BsonJavaScriptWithScope)

Compares two BsonJavaScriptWithScope values.