Share via


MongoIndexOptions.Unique Property

Definition

Gets or sets is unique or not

[Newtonsoft.Json.JsonProperty(PropertyName="unique")]
public bool? Unique { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="unique")>]
member this.Unique : Nullable<bool> with get, set
Public Property Unique As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to