語言

StructuredJsonPath 建構函式

定義

建立新的 StructuredJsonPath 實例。

public StructuredJsonPath(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.StructuredJsonPathSegment> segments, System.Collections.Generic.IReadOnlyList<int?>? indices);
new Microsoft.EntityFrameworkCore.Infrastructure.StructuredJsonPath : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.StructuredJsonPathSegment> * System.Collections.Generic.IReadOnlyList<Nullable<int>> -> Microsoft.EntityFrameworkCore.Infrastructure.StructuredJsonPath
Public Sub New (segments As IReadOnlyList(Of StructuredJsonPathSegment), indices As IReadOnlyList(Of Nullable(Of Integer)))

參數

segments
IReadOnlyList<StructuredJsonPathSegment>

路徑段。

indices
IReadOnlyList<Nullable<Int32>>

陣列索引佔位符的索引值。 每個段必須有一個項目,其中 IsArray 是 true。 條 null 目表示索引器未指定(所有元素),預設為 , [*] 或為 []。

適用於