Метод 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.