Udostępnij za pośrednictwem


Metoda SqlGeometry.STEquals

Określa, czy określona SqlGeometry ma punkt zestaw identyczne wywołujący SqlGeometry.

Przestrzeń nazw:  Microsoft.SqlServer.Types
Zestaw:  Microsoft.SqlServer.Types (w Microsoft.SqlServer.Types.dll)

Składnia

'Deklaracja
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STEquals ( _
    other As SqlGeometry _
) As SqlBoolean
'Użycie
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

Parametry

Wartość zwracana

Typ: System.Data.SqlTypes.SqlBoolean
Zwraca true Jeśli SqlGeometry wystąpienie reprezentuje ten sam zestaw punkt określony SqlGeometry.Zwraca false Jeśli nie.