Method CopyTo
CopyTo(KeyValuePair<string, StringValues>[], int)
Copies the NatsHeaders elements to a one-dimensional Array instance at the specified index.
public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
Parameters
array
KeyValuePair<string, StringValues>[]The one-dimensional Array that is the destination of the specified objects copied from the NatsHeaders.
arrayIndex
intThe zero-based index in
array
at which copying begins.