StyleCollection.CopyTo(Style[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the elements of the StyleCollection to a one-dimensional Style array, starting at the specified index of the target array.
public:
void CopyTo(cli::array <System::Web::UI::WebControls::Style ^> ^ styleArray, int index);
public void CopyTo (System.Web.UI.WebControls.Style[] styleArray, int index);
override this.CopyTo : System.Web.UI.WebControls.Style[] * int -> unit
Public Sub CopyTo (styleArray As Style(), index As Integer)
Parameters
- styleArray
- Style[]
The Array that is the destination of the copied styles. The Array must have zero-based indexing.
- index
- Int32
The zero-based index in styleArray
at which copying begins.
Remarks
The style elements are copied to the Array object in the same order in which they are indexed within the StyleCollection object.