SqlGeometry.Parse 메서드

SQL Server 2012

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 static SqlGeometry Parse(
	SqlString s

매개 변수

유형: System.Data.SqlTypes.SqlString
Specifies the the WKT representation of the SqlGeometry instance you wish to return.

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry instance interpreted from the provided WKT representation.Returns null if s is null.

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.

커뮤니티 추가 항목