다음을 통해 공유


Point 메서드

Constructs a SqlGeometry instance that represents a Point instance from its X and Y values and an SRID.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Shared Function Point ( _
    x As Double, _
    y As Double, _
    srid As Integer _
) As SqlGeometry
‘사용 방법
Dim x As Double
Dim y As Double
Dim srid As Integer
Dim returnValue As SqlGeometry

returnValue = SqlGeometry.Point(x, y, srid)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeometry Point(
    double x,
    double y,
    int srid
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
static SqlGeometry^ Point(
    double x, 
    double y, 
    int srid
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
static member Point : 
        x:float * 
        y:float * 
        srid:int -> SqlGeometry 
public static function Point(
    x : double, 
    y : double, 
    srid : int
) : SqlGeometry

매개 변수

반환 값

유형: Microsoft.SqlServer.Types. . :: . .SqlGeometry
A SqlGeometry instance that represents a point on a Euclidian coordinate system.

주의

This member is static.