System.Windows.Forms.ListView.SelectedListViewItemCollection.CopyTo C# (CSharp) Méthode

CopyTo() public méthode

public CopyTo ( Array dest, int index ) : void
dest Array
index int
Résultat void
			public void CopyTo (Array dest, int index)
			{
				if (!owner.is_selection_available)
					return;
				if (index > Count) // Throws ArgumentException instead of IOOR exception
					throw new ArgumentException ("index");

				for (int i = 0; i < Count; i++)
					dest.SetValue (this [i], index++);
			}