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
)
The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.
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.
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.