ערוך

שתף באמצעות


X509CertificateCollection.X509CertificateEnumerator.Current Property

Definition

Gets the current X509Certificate in the X509CertificateCollection.

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

Property Value

The current X509Certificate in the X509CertificateCollection.

Exceptions

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

Remarks

X509CertificateCollection.X509CertificateEnumerator 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