SqlGeometry.STWithin 메서드

SQL Server 2012

Determines whether the current SqlGeometry is completely within the specified SqlGeometry instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
	SqlGeometry other
)

매개 변수

other
유형: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.

반환 값

유형: System.Data.SqlTypes.SqlBoolean
Returns true if a SqlGeometry instance is completely within another SqlGeometry instance; otherwise, returns false.

This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.

커뮤니티 추가 항목

추가
표시: