Edit

Share via


X509ChainElementEnumerator.Current Property

Definition

Gets the current element in the X509ChainElementCollection.

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

Property Value

The current element in the X509ChainElementCollection.

Implements

Exceptions

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

Remarks

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.

Applies to