다음을 통해 공유


STSymDifference 메서드

Returns an object that represents all points that are either in one SqlGeometry instance or another SqlGeometry instance, but not those points that lie in both instances.

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

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STSymDifference ( _
    other As SqlGeometry _
) As SqlGeometry
‘사용 방법
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Types. . :: . .SqlGeometry
A SqlGeometry object that represents all points in the calling SqlGeometry and the specified SqlGeometry instances that are not present in both instances..

주의

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