| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function Contains( _ ByVal value As Certificate _ ) As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As CertificateStore Dim value As Certificate Dim value As Boolean value = instance.Contains(value) | |
| C# | |
|---|---|
public bool Contains( Certificate value ) | |
| Managed Extensions for 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 Value
true if item is found in the collection; otherwise, false.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.
Target Platforms: Microsoft .NET Framework 2.0