Returns a subset of this collection whose elements match the supplied match function.

Namespace: NHINDirect.Certificates
Assembly: nhinCommon (in nhinCommon.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static X509Certificate2Collection Where(
	this X509Certificate2Collection certs,
	Func<X509Certificate2, bool> match
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Where ( _
	certs As X509Certificate2Collection, _
	match As Func(Of X509Certificate2, Boolean) _
) As X509Certificate2Collection
Visual C++
[ExtensionAttribute]
public:
static X509Certificate2Collection^ Where(
	X509Certificate2Collection^ certs, 
	Func<X509Certificate2^, bool>^ match
)

Parameters

certs
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2Collection
The source collection.
match
Type: System..::..Func<(Of <(<'X509Certificate2, Boolean>)>)>
The predicate for which all elements that return will be selected.

Return Value

The collection of matched elements, or null if no matched elements are found.

See Also