Share via


ValidationRules.EnumMustHaveIntegerUnderlyingType Field

Raises an error if the underlying type of an enum type is not an integer type.

Namespace:  Microsoft.Data.Edm.Validation
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Shared ReadOnly EnumMustHaveIntegerUnderlyingType As ValidationRule(Of IEdmEnumType)
'Usage
Dim value As ValidationRule(Of IEdmEnumType)

value = ValidationRules.EnumMustHaveIntegerUnderlyingType
public static readonly ValidationRule<IEdmEnumType> EnumMustHaveIntegerUnderlyingType
public:
static initonly ValidationRule<IEdmEnumType^>^ EnumMustHaveIntegerUnderlyingType
static val EnumMustHaveIntegerUnderlyingType: ValidationRule<IEdmEnumType>
public static final var EnumMustHaveIntegerUnderlyingType : ValidationRule<IEdmEnumType>

See Also

Reference

ValidationRules Class

Microsoft.Data.Edm.Validation Namespace