Udostępnij za pośrednictwem


Metoda SqlGeometry.STSymDifference

Zwraca obiekt reprezentujący wszystkie punkty, które są w jedną SqlGeometry lub innego wystąpienie SqlGeometry wystąpienie, ale nie te punkty, które leżą w obu przypadkach.

Przestrzeń nazw:  Microsoft.SqlServer.Types
Zestaw:  Microsoft.SqlServer.Types (w Microsoft.SqlServer.Types.dll)

Składnia

'Deklaracja
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STSymDifference ( _
    other As SqlGeometry _
) As SqlGeometry
'Użycie
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

Parametry

Wartość zwracana

Typ: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry obiekt, który reprezentuje wszystkie punkty w wywołujący SqlGeometry i określonym SqlGeometry wystąpienia, które są nieobecne w obu przypadkach..

Uwagi

Ta metoda zwraca zawsze nullodwołanie o wartości null (Nothing w języku Visual Basic) Jeśli odwołanie przestrzennej identyfikatory (SRIDs) SqlGeometry wystąpienia nie dopasowania.