Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim value As Nullable(Of Integer) Dim minValue As Integer Dim maxValue As Integer Dim paramName As String ValidationHelper.ValidateNullableInt(value, minValue, maxValue, paramName) |
Syntax
Visual Basic |
---|
Public Shared Sub ValidateNullableInt ( _ value As Nullable(Of Integer), _ minValue As Integer, _ maxValue As Integer, _ paramName As String _ ) |
C# |
---|
public static void ValidateNullableInt ( Nullable<int> value, int minValue, int maxValue, string paramName ) |
C++ |
---|
public: static void ValidateNullableInt ( Nullable<int> value, int minValue, int maxValue, String^ paramName ) |
J# |
---|
public static void ValidateNullableInt ( Nullable<int> value, int minValue, int maxValue, String paramName ) |
JScript |
---|
public static function ValidateNullableInt ( value : Nullable<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.