UniqueKey.Paths Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the paths, a set of which must be unique for each document in the Azure Cosmos DB service.
[Newtonsoft.Json.JsonProperty(PropertyName="paths")]
public System.Collections.ObjectModel.Collection<string> Paths { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="paths")>]
member this.Paths : System.Collections.ObjectModel.Collection<string> with get, set
Public Property Paths As Collection(Of String)
Property Value
The paths to enforce uniqueness on. Each path is a rooted path of the unique property in the document, such as "/name/first".
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Examples
uniqueKey.Paths = new Collection<string> { "/name/first", "/name/last" };
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for