Freigeben über


ValidationRules.EnumMustHaveIntegerUnderlyingType-Feld

Löst einen Fehler aus, wenn der zugrunde liegende Typ eines Enumerationstyps kein ganzzahliger Typ ist.

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>

Siehe auch

Verweis

ValidationRules Klasse

Microsoft.Data.Edm.Validation-Namespace