EdmTypeSemantics.IsGeography Method

Definition

Overloads

IsGeography(IEdmTypeReference)

Returns true if this reference refers to a geography type.

IsGeography(IEdmType)

Returns true if this definition refers to a geography type.

IsGeography(EdmPrimitiveTypeKind)

Returns true if this type kind represents a geography type.

IsGeography(IEdmTypeReference)

Returns true if this reference refers to a geography type.

C#
public static bool IsGeography (this Microsoft.OData.Edm.IEdmTypeReference type);

Parameters

type
IEdmTypeReference

Type reference.

Returns

This reference refers to a geography type.

Applies to

OData EDM 7.0
Product Versions
OData EDM 7.0

IsGeography(IEdmType)

Returns true if this definition refers to a geography type.

C#
public static bool IsGeography (this Microsoft.OData.Edm.IEdmType type);

Parameters

type
IEdmType

Type reference.

Returns

This definition refers to a geography type.

Applies to

OData EDM 7.0
Product Versions
OData EDM 7.0

IsGeography(EdmPrimitiveTypeKind)

Returns true if this type kind represents a geography type.

C#
public static bool IsGeography (this Microsoft.OData.Edm.EdmPrimitiveTypeKind typeKind);

Parameters

typeKind
EdmPrimitiveTypeKind

Type reference.

Returns

This kind refers to a geography type.

Applies to

OData EDM 7.0
Product Versions
OData EDM 7.0