共用方式為


X509CertificateCollection.X509CertificateEnumerator.Current 屬性

定義

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

屬性值

X509Certificate 中的目前 X509CertificateCollection

例外狀況

列舉值是放在集合的第一個項目之前,或最後一個項目之後。

備註

X509CertificateCollection.X509CertificateEnumerator 不會移動列舉值的位置。 對 屬性的連續呼叫 Current 會傳回相同的物件,直到 MoveNext 呼叫 或 Reset 方法為止。

適用於