Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Current Property
Collapse the table of content
Expand the table of content

X509ExtensionEnumerator.Current Property

Gets the current element in the X509ExtensionCollection.

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

public X509Extension Current { get; }

ExceptionCondition
InvalidOperationException

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

X509ExtensionEnumerator 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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft