SqlGeometry.STWithin 메서드

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 Function STWithin ( _
    other As SqlGeometry _
) As SqlBoolean
‘사용 방법
Dim instance As SqlGeometry 
Dim other As SqlGeometry 
Dim returnValue As SqlBoolean 

returnValue = instance.STWithin(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
    SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STWithin(
    SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin : 
        other:SqlGeometry -> SqlBoolean
public function STWithin(
    other : SqlGeometry
) : SqlBoolean

매개 변수

반환 값

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

주의

This method always returns nullnull 참조(Visual Basic에서는 Nothing) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.

참고 항목

참조

SqlGeometry 클래스

Microsoft.SqlServer.Types 네임스페이스