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. The element to locate can be a null reference (Nothing in Visual Basic).
See Also Languages PowerTCP SSL Sockets for .NET

Contains(Certificate) Method

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

Determines whether an element is in the collection.

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

Parameters

value
The Object to locate in the collection. The element to locate can be a null reference (Nothing in Visual Basic).

Return Type

true if item is found in the collection; otherwise, false.

Remarks

This method performs a linear search; therefore, the average execution time is proportional to Count. That is, this method is an O(n) operation, where n is Count.

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.