共用方式為


EdmTypeSemantics.IsSpatial 方法 (IEdmType)

判斷這個定義是否參考空間型別。

命名空間:  Microsoft.Data.Edm
組件:  Microsoft.Data.Edm (在 Microsoft.Data.Edm.dll 中)

語法

'宣告
<ExtensionAttribute> _
Public Shared Function IsSpatial ( _
    type As IEdmType _
) As Boolean
'用途
Dim type As IEdmType
Dim returnValue As Boolean

returnValue = type.IsSpatial()
public static bool IsSpatial(
    this IEdmType type
)
[ExtensionAttribute]
public:
static bool IsSpatial(
    IEdmType^ type
)
static member IsSpatial : 
        type:IEdmType -> bool 
public static function IsSpatial(
    type : IEdmType
) : boolean

參數

傳回值

型別:System.Boolean
如果這個定義參考空間型別,則為 true,否則為 false。

使用注意事項

在 Visual Basic 及 C# 中,您可以在任何型別 IEdmType 的物件上將這個方法做為執行個體方法呼叫。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱 https://msdn.microsoft.com/zh-tw/library/bb384936(v=vs.103)https://msdn.microsoft.com/zh-tw/library/bb383977(v=vs.103)

請參閱

參考

EdmTypeSemantics 類別

IsSpatial 多載

Microsoft.Data.Edm 命名空間