Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

X509Certificate2Enumerator::IEnumerator::Current Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

For a description of this member, see IEnumerator::Current.

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

private:
property Object^ Current {
	virtual Object^ get() sealed = IEnumerator::Current::get;
}

Property Value

Type: System::Object^

The current element in the X509Certificate2Collection object.

Exception Condition
InvalidOperationException

The enumerator is positioned before the first element of the collection or after the last element.

This member is an explicit interface member implementation. It can be used only when the X509Certificate2Enumerator instance is cast to an IEnumerator interface.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft