SqlGeometry.STSymDifference-Methode
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.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STSymDifference ( _
other As SqlGeometry _
) As SqlGeometry
'Usage
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
Parameter
- other
Typ: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.
Rückgabewert
Typ: 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..
Hinweise
This method always returns nullein NULL-Verweis (Nothing in Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.