Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Determines whether the current SqlGeometry is completely within the specified SqlGeometry instance.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STWithin ( _
other As SqlGeometry _
) As SqlBoolean
'Utilisation
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
Paramètres
- other
Type : Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance to compare to the current SqlGeometry.
Valeur de retour
Type : System.Data.SqlTypes.SqlBoolean
Returns true if a SqlGeometry instance is completely within another SqlGeometry instance; otherwise, returns false.
Notes
This method always returns nullune référence Null (Nothing dans Visual Basic) if the spatial reference IDs (SRIDs) of the SqlGeometry instances do not match.