Castle.Facilities.NHibernateIntegration.Util.FieldInfoCollection.ICollection C# (CSharp) Method

ICollection() private method

Copies the entire FieldInfoCollection to a one-dimensional Array, starting at the specified index of the target array.
Please refer to ArrayList.CopyTo(int, Array, int, int) for details.
/// is a null reference. /// is less than zero. /// is multidimensional. /// -or- /// is equal to or /// greater than the length of . /// -or- /// The number of elements in the source /// is greater /// than the available space from /// to the end of the destination . /// /// /// cannot be cast automatically to the type of the destination /// .
private ICollection ( Array array, int arrayIndex ) : void
array Array /// The one-dimensional that is the destination /// of the elements copied from the /// . /// The Array must have zero-based indexing.
arrayIndex int /// The zero-based index in /// at which copying begins.
return void
		void ICollection.CopyTo(Array array, int arrayIndex)
		{
			_data.CheckTargetArray(array, arrayIndex);
			Array.Copy(_data.Items, 0, array, arrayIndex, _data.Count);
		}