![]() ![]() It is faster to resize an array in this manner than to loop through the array and individually remove each row. When you resize an array to -1, all rows are removed. The number of parameters passed is the number of dimensions of the array being resized. Arrays are zero-based (the first element is zero) so you resize the array using a number that is one less than the number of elements you actually want. The ResizeTo method is used to increase or reduce the number of rows in the array specified. Resizes the array to the specified index. RemoveAt ( 1 ) // names() = "Bob", "Jane" Var names () As String = Array ( "Bob", "Tom", "Jane" ) names.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |