IntegerValidatorAttribute.ExcludeRange プロパティ
アセンブリ: System.Configuration (system.configuration.dll 内)
構文
Dim instance As IntegerValidatorAttribute Dim value As Boolean value = instance.ExcludeRange instance.ExcludeRange = value
/** @property */ public boolean get_ExcludeRange () /** @property */ public void set_ExcludeRange (boolean value)
値が除外される必要がある場合は true。それ以外の場合は false。既定値は false です。
使用例
ExcludeRange プロパティを使用する方法の例を次に示します。
<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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
Weblioに収録されているすべての辞書からIntegerValidatorAttribute.ExcludeRange プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からIntegerValidatorAttribute.ExcludeRange プロパティ を検索
- IntegerValidatorAttribute.ExcludeRange プロパティのページへのリンク