BsonJavaScriptWithScope Methods | 
The BsonJavaScriptWithScope type exposes the following members.
| Name | Description | |
|---|---|---|
| Clone | 
            Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone).
              (Overrides BsonValueClone.) | |
| CompareTo(BsonJavaScript) | 
            Compares this BsonJavaScript to another BsonJavaScript.
              (Inherited from BsonJavaScript.) | |
| CompareTo(BsonJavaScriptWithScope) | 
            Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.
              | |
| CompareTo(BsonValue) | 
            Compares the BsonJavaScriptWithScope to another BsonValue.
              (Overrides BsonJavaScriptCompareTo(BsonValue).) | |
| CompareTypeTo | 
            Compares the type of this BsonValue to the type of another BsonValue.
              (Inherited from BsonValue.) | |
| Create | 
            Creates a new BsonJavaScriptWithScope.
              | |
| DeepClone | 
            Creates a deep clone of the BsonJavaScriptWithScope (see also Clone).
              (Overrides BsonValueDeepClone.) | |
| Equals(Object) | 
            Compares this BsonJavaScriptWithScope to another object.
              (Overrides BsonJavaScriptEquals(Object).) | |
| Equals(BsonJavaScript) | 
            Compares this BsonJavaScript to another BsonJavaScript.
              (Inherited from BsonJavaScript.) | |
| Equals(BsonJavaScriptWithScope) | 
            Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.
              | |
| Equals(BsonValue) | 
            Compares this BsonValue to another BsonValue.
              (Inherited from BsonValue.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from Object.) | |
| GetHashCode | 
            Gets the hash code.
              (Overrides BsonJavaScriptGetHashCode.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| IConvertibleGetTypeCodeImplementation | 
            Implementation of the IConvertible GetTypeCode method.
              (Inherited from BsonValue.) | |
| IConvertibleToBooleanImplementation | 
            Implementation of the IConvertible ToBoolean method.
              (Inherited from BsonValue.) | |
| IConvertibleToByteImplementation | 
            Implementation of the IConvertible ToByte method.
              (Inherited from BsonValue.) | |
| IConvertibleToCharImplementation | 
            Implementation of the IConvertible ToChar method.
              (Inherited from BsonValue.) | |
| IConvertibleToDateTimeImplementation | 
            Implementation of the IConvertible ToDateTime method.
              (Inherited from BsonValue.) | |
| IConvertibleToDecimalImplementation | 
            Implementation of the IConvertible ToDecimal method.
              (Inherited from BsonValue.) | |
| IConvertibleToDoubleImplementation | 
            Implementation of the IConvertible ToDouble method.
              (Inherited from BsonValue.) | |
| IConvertibleToInt16Implementation | 
            Implementation of the IConvertible ToInt16 method.
              (Inherited from BsonValue.) | |
| IConvertibleToInt32Implementation | 
            Implementation of the IConvertible ToInt32 method.
              (Inherited from BsonValue.) | |
| IConvertibleToInt64Implementation | 
            Implementation of the IConvertible ToInt64 method.
              (Inherited from BsonValue.) | |
| IConvertibleToSByteImplementation | 
            Implementation of the IConvertible ToSByte method.
              (Inherited from BsonValue.) | |
| IConvertibleToSingleImplementation | 
            Implementation of the IConvertible ToSingle method.
              (Inherited from BsonValue.) | |
| IConvertibleToStringImplementation | 
            Implementation of the IConvertible ToString method.
              (Inherited from BsonValue.) | |
| IConvertibleToUInt16Implementation | 
            Implementation of the IConvertible ToUInt16 method.
              (Inherited from BsonValue.) | |
| IConvertibleToUInt32Implementation | 
            Implementation of the IConvertible ToUInt32 method.
              (Inherited from BsonValue.) | |
| IConvertibleToUInt64Implementation | 
            Implementation of the IConvertible ToUInt64 method.
              (Inherited from BsonValue.) | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| OperatorEqualsImplementation | 
            Implementation of operator ==.
              (Inherited from BsonValue.) | |
| ToBoolean | 
            Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
              (Inherited from BsonValue.) | |
| ToDecimal | 
            Converts this BsonValue to a Decimal.
              (Inherited from BsonValue.) | |
| ToDecimal128 | 
            Converts this BsonValue to a Decimal128.
              (Inherited from BsonValue.) | |
| ToDouble | 
            Converts this BsonValue to a Double.
              (Inherited from BsonValue.) | |
| ToInt32 | 
            Converts this BsonValue to an Int32.
              (Inherited from BsonValue.) | |
| ToInt64 | 
            Converts this BsonValue to an Int64.
              (Inherited from BsonValue.) | |
| ToLocalTime | 
            Converts this BsonValue to a DateTime in local time.
              (Inherited from BsonValue.) | |
| ToNullableLocalTime | 
            Converts this BsonValue to a DateTime? in local time.
              (Inherited from BsonValue.) | |
| ToNullableUniversalTime | 
            Converts this BsonValue to a DateTime? in UTC.
              (Inherited from BsonValue.) | |
| ToString | 
            Returns a string representation of the value.
              (Overrides BsonJavaScriptToString.) | |
| ToUniversalTime | 
            Converts this BsonValue to a DateTime in UTC.
              (Inherited from BsonValue.) | 
| Name | Description | |
|---|---|---|
| ToBson | 
            Serializes an object to a BSON byte array.
              (Defined by BsonExtensionMethods.) | |
| ToBsonDocument | 
            Serializes an object to a BsonDocument.
              (Defined by BsonExtensionMethods.) | |
| ToJson | 
            Serializes an object to a JSON string.
              (Defined by BsonExtensionMethods.) |