ValidationRules.EnumMemberValueMustHaveSameTypeAsUnderlyingType Field
Validates that the enumeration value must have the same type as underlying type.
Namespace: Microsoft.Data.Edm.Validation
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Shared ReadOnly EnumMemberValueMustHaveSameTypeAsUnderlyingType As ValidationRule(Of IEdmEnumMember)
'Usage
Dim value As ValidationRule(Of IEdmEnumMember)
value = ValidationRules.EnumMemberValueMustHaveSameTypeAsUnderlyingType
public static readonly ValidationRule<IEdmEnumMember> EnumMemberValueMustHaveSameTypeAsUnderlyingType
public:
static initonly ValidationRule<IEdmEnumMember^>^ EnumMemberValueMustHaveSameTypeAsUnderlyingType
static val EnumMemberValueMustHaveSameTypeAsUnderlyingType: ValidationRule<IEdmEnumMember>
public static final var EnumMemberValueMustHaveSameTypeAsUnderlyingType : ValidationRule<IEdmEnumMember>