This documentation is archived and is not being maintained.
StyleCollection::CopyTo Method (array<Style>, Int32)
Visual Studio 2010
Copies the elements of the StyleCollection to a one-dimensional Style array, starting at the specified index of the target array.
Assembly: System.Web (in System.Web.dll)
Parameters
- styleArray
- Type: array<System.Web.UI.WebControls::Style>
The Array that is the destination of the copied styles. The Array must have zero-based indexing.
- index
- Type: System::Int32
The zero-based index in styleArray at which copying begins.
The style elements are copied to the Array object in the same order in which they are indexed within the StyleCollection object.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: