X509ExtensionEnumerator.Current Property

Definition

Gets the current element in the X509ExtensionCollection.

public:
 property System::Security::Cryptography::X509Certificates::X509Extension ^ Current { System::Security::Cryptography::X509Certificates::X509Extension ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Extension Current { get; }
member this.Current : System.Security.Cryptography.X509Certificates.X509Extension
Public ReadOnly Property Current As X509Extension

Property Value

X509Extension

The current element in the X509ExtensionCollection.

Exceptions

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

Remarks

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.

Applies to