Campo ValidationRules.EnumMemberValueMustHaveSameTypeAsUnderlyingType
Valida que el valor de enumeración debe tener el mismo tipo que el tipo subyacente.
Espacio de nombres: Microsoft.Data.Edm.Validation
Ensamblado: Microsoft.Data.Edm (en Microsoft.Data.Edm.dll)
Sintaxis
'Declaración
Public Shared ReadOnly EnumMemberValueMustHaveSameTypeAsUnderlyingType As ValidationRule(Of IEdmEnumMember)
'Uso
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>