共用方式為


EdmTypeSemantics.IsGeometry 方法

定義

多載

IsGeometry(EdmPrimitiveTypeKind)

如果此類型類型代表幾何類型,則傳回 true。

IsGeometry(IEdmType)

如果這個定義參考幾何類型,則傳回 true。

IsGeometry(IEdmTypeReference)

如果這個參考參考參照幾何類型,則傳回 true。

IsGeometry(EdmPrimitiveTypeKind)

如果此類型類型代表幾何類型,則傳回 true。

public static bool IsGeometry (this Microsoft.OData.Edm.EdmPrimitiveTypeKind typeKind);
static member IsGeometry : Microsoft.OData.Edm.EdmPrimitiveTypeKind -> bool
<Extension()>
Public Function IsGeometry (typeKind As EdmPrimitiveTypeKind) As Boolean

參數

typeKind
EdmPrimitiveTypeKind

類型參考。

傳回

此類型是指幾何類型。

適用於

IsGeometry(IEdmType)

如果這個定義參考幾何類型,則傳回 true。

public static bool IsGeometry (this Microsoft.OData.Edm.IEdmType type);
static member IsGeometry : Microsoft.OData.Edm.IEdmType -> bool
<Extension()>
Public Function IsGeometry (type As IEdmType) As Boolean

參數

type
IEdmType

類型參考。

傳回

此定義是指幾何類型。

適用於

IsGeometry(IEdmTypeReference)

如果這個參考參考參照幾何類型,則傳回 true。

public static bool IsGeometry (this Microsoft.OData.Edm.IEdmTypeReference type);
static member IsGeometry : Microsoft.OData.Edm.IEdmTypeReference -> bool
<Extension()>
Public Function IsGeometry (type As IEdmTypeReference) As Boolean

參數

type
IEdmTypeReference

類型參考。

傳回

此參考是指幾何類型。

適用於