'宣言 Public Overloads Shared Function IsValid( _ ByVal enumValue As System.Integer, _ ByVal minValueOfEnum As System.Integer, _ ByVal maxValueOfEnum As System.Integer, _ ByVal maxNumberOfBitsOn As System.Integer _ ) As System.Boolean
public static System.bool IsValid( System.int enumValue, System.int minValueOfEnum, System.int maxValueOfEnum, System.int maxNumberOfBitsOn )
パラメータ
- enumValue
- An int indivate the value you want to check
- minValueOfEnum
- An int indicate the minimum value of your enum type
- maxValueOfEnum
- An int indicate the maximum value of your enum type
- maxNumberOfBitsOn
- An int indicate the max count of bit for test enum value
戻り値の型
A bool indicate the check result, if current value is a valid enum type, return true; otherwise false