語言

DbGeography.ElementCount 屬性

定義

若該 DbGeography 值代表地理集合,則取得該 DbGeography 值中的元素數。 <回傳>該地理值中元素的數量,若代表其他地理值的集合;否則為零。</回歸>

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

屬性值

這個 DbGeography 中元素的數量。

適用於