Copies the styles in the collection to a specified array.
Syntax
Parameters
- array
- One-dimensional array into which are copied the elements from ICollection; the array indexing must be zero-based.
- index
- Zero-based index in the array at which to paste the styles
Exceptions
Example
C# | Copy Code |
---|
FarPoint.Web.Spread.DefaultStyleCollection dsc = new FarPoint.Web.Spread.DefaultStyleCollection();
Object[] myarray = new Object[dsc.Count];
dsc.CopyTo(myarray, 0);
TextBox1.Text = myarray.GetValue(1).ToString();
|
Visual Basic | Copy Code |
---|
Dim dsc As New FarPoint.Web.Spread.DefaultStyleCollection
Dim myarray(dsc.Count)
dsc.CopyTo(myarray, 0)
TextBox1.Text = myarray.GetValue(1).ToString() |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also