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 nullptr unit null 引用(在 Visual Basic 中为 Nothing) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.