共用方式為


SqlGeometry.STIsEmpty 方法

Indicates whether the calling SqlGeometry instance is empty.

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

語法

'宣告
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STIsEmpty As SqlBoolean
'用途
Dim instance As SqlGeometry 
Dim returnValue As SqlBoolean 

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

傳回值

型別:System.Data.SqlTypes.SqlBoolean
Returns true if the calling instance is empty. Returns false if it is not empty.

請參閱

參考

SqlGeometry 類別

Microsoft.SqlServer.Types 命名空間