X509CertificateCollection.X509CertificateEnumerator.Current X509CertificateCollection.X509CertificateEnumerator.Current X509CertificateCollection.X509CertificateEnumerator.Current X509CertificateCollection.X509CertificateEnumerator.Current Property

定義

X509Certificate 内の現在の X509CertificateCollection を取得します。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

プロパティ値

例外

列挙子は、コレクションの最初の要素の前または最後の要素の後に配置されています。The enumerator is positioned before the first element of the collection or after the last element.

注釈

X509CertificateCollection.X509CertificateEnumeratorは、列挙子の位置を移動しません。X509CertificateCollection.X509CertificateEnumerator does not move the position of the enumerator. Currentプロパティを連続して呼び出すと、メソッドMoveNextまたはResetメソッドが呼び出されるまで、同じオブジェクトが返されます。Consecutive calls to the Current property return the same object until either the MoveNext or Reset method is called.

適用対象