[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Copies the elements of the
ICollection
<
(Of
<
(
<'
T
>
)
>
)
>
to an
Array, starting at a particular
Arrayindex.
Namespace:
Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- array
-
array<
String
>
[]
()
[]
[]
The one-dimensional Arraythat is the destination of the elements copied from ICollection < (Of < ( <' T > ) > ) > . The Arraymust have zero-based indexing.
- arrayIndex
-
Int32
The zero-based index in arrayat which copying begins.
Implements
ICollection < (Of < ( <' T > ) > ) > . . :: . . CopyTo( array< T > [] () [] [] , Int32)Exceptions
Exception | Condition |
---|---|
System . . :: . . ArgumentNullException | arrayis null. |
System . . :: . . ArgumentOutOfRangeException | arrayIndexis less than 0. |
System . . :: . . ArgumentException | arrayis multidimensional.-or-The number of elements in the source ICollection < (Of < ( <' T > ) > ) > is greater than the available space from arrayIndexto the end of the destination array.-or-Type . |