| SettingT Structure | 
Namespace: MongoDB.Driver
 Syntax
SyntaxThe SettingT type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | HasBeenSet | 
            Gets a value indicating whether the setting has been set.
             | 
|  | Value | 
            Gets the value of the setting.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | Equals | Indicates whether this instance and a specified object are equal.(Inherited from ValueType.) | 
|  | GetHashCode | Returns the hash code for this instance.(Inherited from ValueType.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | Reset | 
            Resets the setting to the unset state.
             | 
|  | ToString | 
            Gets a canonical string representation for this setting.
            (Overrides ValueTypeToString.) | 
 Extension Methods
Extension Methods| 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.) | 
 See Also
See Also