Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim value As Integer Dim minValue As Integer Dim maxValue As Integer Dim paramName As String ValidationHelper.ValidateInt(value, minValue, maxValue, paramName) |
Syntax
Visual Basic |
---|
Public Shared Sub ValidateInt ( _ value As Integer, _ minValue As Integer, _ maxValue As Integer, _ paramName As String _ ) |
C# |
---|
public static void ValidateInt ( int value, int minValue, int maxValue, string paramName ) |
C++ |
---|
public: static void ValidateInt ( int value, int minValue, int maxValue, String^ paramName ) |
J# |
---|
public static void ValidateInt ( int value, int minValue, int maxValue, String paramName ) |
JScript |
---|
public static function ValidateInt ( value : int, minValue : int, maxValue : int, paramName : String ) |
Parameters
- value
-
The value to validate.
- minValue
-
The minimum value.
- maxValue
-
The maximum value.
- paramName
-
The name of the parameter to throw the exception for.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.