HeaderCollection.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)
ParameterTypeDescription
arrayString[]The destination of the elements copied from the current collection.
arrayIndexInt32An integer that represents the index in array at which copying begins.

See Also