SqlGeometry.STEquals Method

Determines whether the specified SqlGeometry has a point set identical to the calling SqlGeometry.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STEquals ( _
    other As SqlGeometry _
) As SqlBoolean
'Usage
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlBoolean

returnValue = instance.STEquals(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STEquals(
    SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STEquals(
    SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STEquals : 
        other:SqlGeometry -> SqlBoolean
public function STEquals(
    other : SqlGeometry
) : SqlBoolean

Parameters

Return Value

Type: System.Data.SqlTypes.SqlBoolean
Returns true if the SqlGeometry instance represents the same point set as the specified SqlGeometry. Returns false if it does not.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace