共用方式為


EdmTypeSemantics.IsGeography 方法

定義

多載

IsGeography(IEdmTypeReference)

如果這個參考參考地理類型,則傳回 true。

IsGeography(IEdmType)

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

IsGeography(EdmPrimitiveTypeKind)

如果此類型種類代表 geography 類型,則傳回 true。

IsGeography(IEdmTypeReference)

如果這個參考參考地理類型,則傳回 true。

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

參數

type
IEdmTypeReference

類型參考。

傳回

此參考是指地理類型。

適用於

IsGeography(IEdmType)

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

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

參數

type
IEdmType

類型參考。

傳回

此定義是指地理位置類型。

適用於

IsGeography(EdmPrimitiveTypeKind)

如果此類型種類代表 geography 類型,則傳回 true。

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

參數

typeKind
EdmPrimitiveTypeKind

類型參考。

傳回

此類型是指地理類型。

適用於