Поделиться через


Метод SqlGeometry.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 в Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.

См. также

Справочник

SqlGeometry Класс

Пространство имен Microsoft.SqlServer.Types