Editare

Partajați prin


MessageHeaders.CopyTo(MessageHeaderInfo[], Int32) Method

Definition

Copies the headers from this collection to an array, starting at a particular index of the array.

public:
 void CopyTo(cli::array <System::ServiceModel::Channels::MessageHeaderInfo ^> ^ array, int index);
public void CopyTo (System.ServiceModel.Channels.MessageHeaderInfo[] array, int index);
member this.CopyTo : System.ServiceModel.Channels.MessageHeaderInfo[] * int -> unit
Public Sub CopyTo (array As MessageHeaderInfo(), index As Integer)

Parameters

array
MessageHeaderInfo[]

The one-dimensional Array that is the destination of the message header objects copied from this instance. The Array must have zero-based indexing.

index
Int32

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

Applies to