Redigera

Dela via


X509Certificate2Enumerator.Current Property

Definition

Gets the current element in the X509Certificate2Collection object.

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

Property Value

The current element in the X509Certificate2Collection object.

Implements

Exceptions

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

Remarks

X509Certificate2Enumerator does not move the position of the enumerator. Consecutive calls to the Current property return the same object until either the MoveNext or Reset method is called.

Applies to