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
arrayKeyValuePair<string, StringValues>[]The one-dimensional Array that is the destination of the specified objects copied from the NatsHeaders.
arrayIndexintThe zero-based index in
arrayat which copying begins.