IntegerValidatorAttribute.MinValue プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)
構文
Dim instance As IntegerValidatorAttribute Dim value As Integer value = instance.MinValue instance.MinValue = value
指定できる最小値を示す整数。
使用例
MinValue プロパティを使用する方法の例を次に示します。
<ConfigurationProperty("maxAttempts", _ DefaultValue:=101, _ IsRequired:=True), _ IntegerValidator(MinValue:=1, _ MaxValue:=100, _ ExcludeRange:=True)> _ Public Property MaxAttempts() As Integer Get Return Fix(Me("maxAttempts")) End Get Set(ByVal value As Integer) Me("maxAttempts") = value End Set End Property
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- IntegerValidatorAttribute.MinValue プロパティのページへのリンク