Struct Setting

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents a setting that may or may not have been set.

public struct Setting<T>

Type Parameters

T

The type of the value.

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Properties

HasBeenSet

Gets a value indicating whether the setting has been set.

Value

Gets the value of the setting.

Methods

Reset()

Resets the setting to the unset state.

ToString()

Gets a canonical string representation for this setting.