共用方式為


SqlGeometry.STExteriorRing 方法

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

命名空間:  Microsoft.SqlServer.Types
組件:  Microsoft.SqlServer.Types (在 Microsoft.SqlServer.Types.dll 中)

語法

'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STExteriorRing As SqlGeometry
'用途
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

傳回值

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

備註

This method returns nullnull 參考 (在 Visual Basic 中為 Nothing) if the SqlGeometry instance is not a polygon.

請參閱

參考

SqlGeometry 類別

Microsoft.SqlServer.Types 命名空間