Dart.PowerTCP.SslSockets Namespace > CertificateStore Class > CopyTo Method : CopyTo(CertificateStore,Int32) Method |
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
[Visual Basic]
Overloads Public Sub CopyTo( _
ByVal array As CertificateStore, _
ByVal index As Integer _
)
[C#]
public void CopyTo(
CertificateStore array,
int index
);
[C++]
public: void CopyTo(
CertificateStore* array,
int index
)
[C++/CLI]
public:
void CopyTo(
CertificateStore^ array,
int index
)
Exception | Description |
---|---|
ArgumentNullException | array is a null reference (Nothing in Visual Basic). |
ArgumentException | array is multidimensional. |
InvalidCastException | The type of the source ArrayList cannot be cast automatically to the type of the destination array. |
The specified array must be of a compatible type.
This method uses Array.Copy to copy the elements.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
CertificateStore Class | CertificateStore Members | Overload List
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.