Table of Contents

Method CopyTo

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

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 int

The zero-based index in array at which copying begins.