Verifies that the array is not empty and has at least min, but not more than max items. throws ArgumentNullExcpetion throws ArgumentOutOfRangeException
Syntax
Parameters
- value
- min
- max
Type Parameters
- T
Exceptions
Exception | Description |
System.ArgumentNullException | The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
System.ArgumentOutOfRangeException | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
See Also