Contains Method

X509CertificateCollection.Contains Method (X509Certificate)


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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft