Using the GridData Object

 
 
 

The GridData object provides a way for you to manage 2-dimensional SAFEARRAYs more easily. Of special interest is the fact that property pages support the GridData parameter so you can easily view the 2-dimensional information (see Example: Storing an existing array in a GridData object).

There are two different ways to create a GridParameter object:

In fact, some languages (such as JScript) do not support multi-dimensional arrays, so the GridData object allows JScript authors to manipulate 2-dimensional SAFEARRAYs.