StyleCollection::CopyTo Method (array<Style>, Int32)
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, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.