StyleCollection.CopyTo Method (Style[], Int32)

Copies the elements of the StyleCollection to a one-dimensional Style array, starting at the specified index of the target array.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
void CopyTo (
	array<Style^>^ styleArray, 
	int index
)
public void CopyTo (
	Style[] styleArray, 
	int index
)
public function CopyTo (
	styleArray : Style[], 
	index : int
)
Not applicable.

Parameters

styleArray

The Array that is the destination of the copied styles. The Array must have zero-based indexing.

index

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 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: