열거형 형식의 기본 형식이 정수 형식이 아닌 경우 오류를 발생시킵니다.
네임스페이스: Microsoft.Data.Edm.Validation
어셈블리: Microsoft.Data.Edm(Microsoft.Data.Edm.dll)
구문
‘선언
Public Shared ReadOnly EnumMustHaveIntegerUnderlyingType As ValidationRule(Of IEdmEnumType)
‘사용 방법
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>