Validate.IsWithinRange Method (Int32, Int32, Int32, String)
Namespace: Microsoft.Internal.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Shared Sub IsWithinRange ( _
value As Integer, _
min As Integer, _
max As Integer, _
paramName As String _
)
public static void IsWithinRange(
int value,
int min,
int max,
string paramName
)
Parameters
- value
Type: System.Int32
- min
Type: System.Int32
- max
Type: System.Int32
- paramName
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.