Partager via


Méthode SqlGeometry.STExteriorRing

Returns the exterior ring of a SqlGeometry instance that is a polygon.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STExteriorRing As SqlGeometry
'Utilisation
Dim instance As SqlGeometry 
Dim returnValue As SqlGeometry 

returnValue = instance.STExteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlGeometry STExteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlGeometry^ STExteriorRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STExteriorRing : unit -> SqlGeometry
public function STExteriorRing() : SqlGeometry

Valeur de retour

Type : Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the exterior ring of the calling instance.

Notes

This method returns nullune référence Null (Nothing dans Visual Basic) if the SqlGeometry instance is not a polygon.

Voir aussi

Référence

SqlGeometry Classe

Espace de noms Microsoft.SqlServer.Types