SqlGeometry.STSymDifference 方法 (SqlGeometry)
返回一个对象,它表示位于一个 SqlGeometry 实例或另一个 SqlGeometry 实例中的所有点,但不包含同时位于这两个实例中的点。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry STSymDifference(
SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ STSymDifference(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STSymDifference :
other:SqlGeometry -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STSymDifference (
other As SqlGeometry
) As SqlGeometry
参数
other
Type: Microsoft.SqlServer.Types.SqlGeometrySqlGeometry 实例要与当前 SqlGeometry。
返回值
Type: Microsoft.SqlServer.Types.SqlGeometry
一个 SqlGeometry 对象,该对象表示调用 SqlGeometry 实例和指定的 SqlGeometry 实例中不同时位于这两个实例中的所有点。
备注
如果 null 实例的空间引用 ID (SRID) 不匹配,则此方法始终返回 SqlGeometry。
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首