共用方式為


DbGeography.ElementCount 屬性

定義

取得這個 DbGeography 值中的項目數目 (如果它表示地理集合)。 <>會傳回這個地理值中的專案數,如果它代表其他地理值的集合,則傳回 ;否則為 null。 </返回>

public Nullable<int> ElementCount { get; }
member this.ElementCount : Nullable<int>
Public ReadOnly Property ElementCount As Nullable(Of Integer)

屬性值

這個 DbGeography 值中的項目數目。

適用於