Supplies an filtered enumeration for this collection.

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

Syntax

C#
public static IEnumerable<X509Certificate2> Enumerate(
	this X509Certificate2Collection certs,
	Predicate<X509Certificate2> filter
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Enumerate ( _
	certs As X509Certificate2Collection, _
	filter As Predicate(Of X509Certificate2) _
) As IEnumerable(Of X509Certificate2)
Visual C++
[ExtensionAttribute]
public:
static IEnumerable<X509Certificate2^>^ Enumerate(
	X509Certificate2Collection^ certs, 
	Predicate<X509Certificate2^>^ filter
)

Parameters

certs
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate2Collection
The collection to enumerate.
filter
Type: System..::..Predicate<(Of <(<'X509Certificate2>)>)>
The filter testing each element of the source collection for enumeration. Elements for which the filter returns false will not be returned by the enumerator.

Return Value

The enumerator for this collection.

See Also