Delen via


EdmTypeSemantics.IsEnum(IEdmTypeReference) Method

Definition

Returns true if this reference refers to an enumeration type.

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

Parameters

type
IEdmTypeReference

Type reference.

Returns

This reference refers to an enumeration type.

Applies to