'UsageDim instance As ElasticVector Dim newSize As Integer instance.Resize(newSize)
Parameters
- newSize
 - The new size of the elastic vector.
 
            'UsageDim instance As ElasticVector Dim newSize As Integer instance.Resize(newSize)
| Exception | Description | 
|---|---|
| System.ArgumentOutOfRangeException | The value of an argument is outside the allowable range of values as defined by the invoked method. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.  | 
As opposed to Resize, the elastic vector does not have to be zero-based