SqlGeometryBuilder.SetSrid 方法

Sets the Spatial Reference Identifier (SRID) for a geometry type call sequence.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public Overridable Sub SetSrid ( _
    srid As Integer _
)
用法
Dim instance As SqlGeometryBuilder 
Dim srid As Integer

instance.SetSrid(srid)
public virtual void SetSrid(
    int srid
)
public:
virtual void SetSrid(
    int srid
)
abstract SetSrid : 
        srid:int -> unit  
override SetSrid : 
        srid:int -> unit
public function SetSrid(
    srid : int
)

参数

  • srid
    类型:System.Int32
    An int that contains the Spatial Reference Identifier for the geometry type.

实现

IGeometrySink.SetSrid(Int32)

注释

Must call SetSrid() at the start of each geometry type call sequence.

请参阅

参考

SqlGeometryBuilder 类

Microsoft.SqlServer.Types 命名空间