SqlGeographyBuilder.BeginGeography 方法 (OpenGisGeographyType)

 

初始化geography类型的调用序列。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

public virtual void BeginGeography(
    OpenGisGeographyType type
)
public:
virtual void BeginGeography(
    OpenGisGeographyType type
)
abstract BeginGeography : 
        type:OpenGisGeographyType -> unit
override BeginGeography : 
        type:OpenGisGeographyType -> unit
Public Overridable Sub BeginGeography (
    type As OpenGisGeographyType
)

参数

实现

IGeographySink.BeginGeography(OpenGisGeographyType)

备注

调用使用打开的序列 BeginGeography() 必须关闭 EndGeography()。

BeginGeography() 和 EndGeography() 对可以嵌套。

有效值为 typePoint, ,MultiPoint, ,LineString, ,MultiLineString, ,Polygon, ,MultiPolygon, ,GeometryCollection, ,和 FullGlobe

另请参阅

SqlGeographyBuilder 类
Microsoft.SqlServer.Types 命名空间

返回页首