Método STExteriorRing

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

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

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STExteriorRing As SqlGeometry
'Uso
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

Valor de retorno

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

Comentários

This method returns null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) if the SqlGeometry instance is not a polygon.