列挙型の基になる型が整数型でない場合にエラーを発生させます。
名前空間: 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>