See Also

CertificateStore Class  | CertificateStore Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

array
The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.
See Also Languages PowerTCP SSL Sockets for .NET

CopyTo(CertificateStore,Int32) Method

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 )

Parameters

array
The one-dimensional Array that is the destination of the elements copied from ArrayList. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.

Exceptions

ExceptionDescription
ArgumentNullExceptionarray is a null reference (Nothing in Visual Basic).
ArgumentExceptionarray is multidimensional.
InvalidCastExceptionThe type of the source ArrayList cannot be cast automatically to the type of the destination array.

Remarks

The specified array must be of a compatible type.

This method uses Array.Copy to copy the elements.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CertificateStore Class  | CertificateStore Members  | Overload List


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.