Метод SqlGeometry.STDifference
Returns an object that represents the points from one SqlGeometry instance that do not lie within another SqlGeometry instance.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STDifference ( _
other As SqlGeometry _
) As SqlGeometry
'Применение
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry
returnValue = instance.STDifference(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STDifference(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ STDifference(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDifference :
other:SqlGeometry -> SqlGeometry
public function STDifference(
other : SqlGeometry
) : SqlGeometry
Параметры
- other
Тип: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance indicating which points to remove from the instance on which STDifference is being invoked.
Возвращаемое значение
Тип: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the unique points in the calling SqlGeometry.
Замечания
This method always returns nullпустая ссылка (Nothing в Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.