共用方式為


SqlSpatialServices.GetEndPoint 方法 (DbGeography)

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

傳回 DbGeography 值,此值代表指定 DbGeography 值的結束點,如果該值不代表曲線,則可能為 null。

命名空間:  System.Data.Entity.SqlServer
組件:  EntityFramework.SqlServer (在 EntityFramework.SqlServer.dll 中)

語法

'宣告
Public Overrides Function GetEndPoint ( _
    geographyValue As DbGeography _
) As DbGeography
'用途
Dim instance As SqlSpatialServices 
Dim geographyValue As DbGeography 
Dim returnValue As DbGeography 

returnValue = instance.GetEndPoint(geographyValue)
public override DbGeography GetEndPoint(
    DbGeography geographyValue
)
public:
virtual DbGeography^ GetEndPoint(
    DbGeography^ geographyValue
) override
abstract GetEndPoint : 
        geographyValue:DbGeography -> DbGeography  
override GetEndPoint : 
        geographyValue:DbGeography -> DbGeography
public override function GetEndPoint(
    geographyValue : DbGeography
) : DbGeography

參數

傳回值

類型:System.Data.Entity.Spatial.DbGeography
若 geographyValue 代表曲線,即為該曲線的結束點,否則為 null。

請參閱

參考

SqlSpatialServices 類別

GetEndPoint 多載

System.Data.Entity.SqlServer 命名空間