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.

X509ChainElementEnumerator::Current Property

 

Gets the current element in the X509ChainElementCollection.

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

public:
property X509ChainElement^ Current {
	X509ChainElement^ get();
}

Exception Condition
InvalidOperationException

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

Current does not move the position of the enumerator and consecutive calls to Current return the same object until either MoveNext or Reset is called.

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