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

value
The Object to locate in the collection.
See Also Languages PowerTCP SSL Sockets for .NET

IndexOf(Certificate) Method

Dart.PowerTCP.SslSockets Namespace > CertificateStore Class > IndexOf Method : IndexOf(Certificate) Method

Searches for the specified value and returns the zero-based index of the first occurrence within the entire collection.

[Visual Basic]
Overloads Public Function IndexOf( _    ByVal value As Certificate _ ) As Integer
[C#]
public int IndexOf(    Certificate value );
[C++]
public: int IndexOf(    Certificate* value )
[C++/CLI]
public: int IndexOf(    Certificate^ value )

Parameters

value
The Object to locate in the collection.

Return Type

The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.

Remarks

The collection is searched forward starting at the first element and ending at the last element.

This method performs a linear search. On average, this is an O(n/2) operation, where n is Count. The longest search is an O(n) operation.

This method determines equality by calling Object.Equals.

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.