CopyTo

HeaderCollection.CopyTo method

Copies all the elements of the current collection to the specified string array starting at the specified destination index.

public void CopyTo(string[] array, int arrayIndex)
Parameter Type Description
array String[] The destination of the elements copied from the current collection.
arrayIndex Int32 An integer that represents the index in array at which copying begins.

See Also