Used to verify that an indexer property get on a collection object contains an index that is within the bounds of collection.
Syntax
Parameters
- errorId
- The unique error ID to use if an exception needs to be thrown.
- paramName
- The name of the parameter that contains the index value to check.
- index
- The actual index value to verify.
- maxBound
- The current total of elements in the collection against which to verify the index value.
Exceptions
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also