how do I clear the content of an Array

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

Hi there.

Another newbee question, does somebody knows they answer?

Thank you very much
 
Hi Jan,
There are a lot of arrays in vb.net with different method's to clear.
A fixed array you can clear wit redim by instance.
Cor
 
An array of the form Dim myThings() As Things is cleared using
myThings.Clear (). Same for Dim myThings As ArrayList = new ArrayList.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top