Export (0) Print
Expand All

X509CertificateCollection.Contains Method

Gets a value indicating whether the current X509CertificateCollection contains the specified X509Certificate.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System (in System.dll)

public bool Contains(
	X509Certificate value

Return Value

Type: System.Boolean
true if the X509Certificate is contained in this collection; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft