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

index
The zero-based index at which value should be inserted.
value
The Object to insert.
See Also Languages PowerTCP SSL Sockets for .NET

Insert(Int32,Certificate) Method

Dart.PowerTCP.SslSockets Namespace > CertificateStore Class > Insert Method : Insert(Int32,Certificate) Method

Inserts an element into the collection at the specified index.

[Visual Basic]
Overloads Public Sub Insert( _    ByVal index As Integer, _    ByVal value As Certificate _ )
[C#]
public void Insert(    int index,    Certificate value );
[C++]
public: void Insert(    int index,    Certificate* value )
[C++/CLI]
public: void Insert(    int index,    Certificate^ value )

Parameters

index
The zero-based index at which value should be inserted.
value
The Object to insert.

Exceptions

ExceptionDescription
ArgumentOutOfRangeException index is less than zero.

-or-

index is greater than Count.

NotSupportedException The ArrayList is read-only.

-or-

The ArrayList has a fixed size.

Remarks

If Count already equals Capacity, the capacity of the list is doubled by automatically reallocating the internal array before the new element is inserted.

If index is equal to Count, value is added to the end of ArrayList.

In collections of contiguous elements, such as lists, the elements that follow the insertion point move down to accommodate the new element. If the collection is indexed, the indexes of the elements that are moved are also updated. This behavior does not apply to collections where elements are conceptually grouped into buckets, such as a hashtable.

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.