IReadOnlyIndex.CollectionIndices 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 complex-collection indices traversed to reach each indexed property.
[System.Runtime.CompilerServices.Nullable(2)]
public System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<int?>?>? CollectionIndices { get; }
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CollectionIndices : System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<Nullable<int>>>
Public ReadOnly Property CollectionIndices As IReadOnlyList(Of IReadOnlyList(Of Nullable(Of Integer)))
Property Value
- Attributes
Remarks
When non-null, this list has the same length as Properties. Each entry corresponds to the property at the same position and is either:
-
null, indicating the property is not reached through any complex collection. - A list with one entry per complex-collection segment between the entity root and the property, ordered outermost-first (the entry at index 0 resolves the complex collection closest to the entity root). A
nullentry means the index applies to all elements of that collection (e.g.Posts.Select(p => p.Title)); a non-nullentry means the index applies only to the element at that fixed position (e.g.Posts[0].Title).
A null top-level value means no property in this index traverses any complex collection.