SqlGeometry.Parse 메서드

Returns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.

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

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Shared Function Parse ( _
    s As SqlString _
) As SqlGeometry
‘사용 방법
Dim s As SqlString 
Dim returnValue As SqlGeometry 

returnValue = SqlGeometry.Parse(s)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public static SqlGeometry Parse(
    SqlString s
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
static SqlGeometry^ Parse(
    SqlString s
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
static member Parse : 
        s:SqlString -> SqlGeometry
public static function Parse(
    s : SqlString
) : SqlGeometry

매개 변수

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry instance interpreted from the provided WKT representation.Returns nullnull 참조(Visual Basic에서는 Nothing) if s is nullnull 참조(Visual Basic에서는 Nothing).

주의

Parse is equivalent to STGeomFromText, with the exception that it assumes a spatial reference ID (SRID) of 0 as a parameter.

The input may carry optional Z (elevation) and M (measure) values.

This member is static.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스