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 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; }
[<Newtonsoft.Json.JsonProperty(PropertyName="paths")>]
member this.Paths : System.Collections.ObjectModel.Collection<string>
Public ReadOnly 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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk