Metodo STWithin
Determines whether the current SqlGeometry is completely within the specified SqlGeometry instance.
Spazio dei nomi Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Sintassi
'Dichiarazione
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STWithin ( _
other As SqlGeometry _
) As SqlBoolean
'Utilizzo
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlBoolean
returnValue = instance.STWithin(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STWithin(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin :
other:SqlGeometry -> SqlBoolean
public function STWithin(
other : SqlGeometry
) : SqlBoolean
Parametri
- other
Tipo: Microsoft.SqlServer.Types. . :: . .SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.
Valore restituito
Tipo: System.Data.SqlTypes. . :: . .SqlBoolean
Returns true if a SqlGeometry instance is completely within another SqlGeometry instance; otherwise, returns false.
Osservazioni
This method always returns null Nothing nullptr unit riferimento Null (Nothing in Visual Basic). if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.