MessageHeaders.CopyTo(MessageHeaderInfo[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.