SqlGeometry.STNumInteriorRing Método
Returns the number of interior rings of a Polygon SqlGeometry instance.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumInteriorRing As SqlInt32
'Uso
Dim instance As SqlGeometry
Dim returnValue As SqlInt32
returnValue = instance.STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumInteriorRing()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STNumInteriorRing()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumInteriorRing : unit -> SqlInt32
public function STNumInteriorRing() : SqlInt32
Valor devuelto
Tipo: System.Data.SqlTypes.SqlInt32
A SqlInt32 value that specifies the number of interior rings.
Comentarios
This method returns nulles una referencia NULL (Nothing en Visual Basic). if the SqlGeometry instance is not a polygon.