X509CertificateCollection.X509CertificateEnumerator.Current 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 X509Certificate 中目前的 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
屬性值
X509Certificate 中的目前 X509CertificateCollection。
例外狀況
列舉值是放在集合的第一個項目之前,或最後一個項目之後。
備註
X509CertificateCollection.X509CertificateEnumerator 不會移動列舉值的位置。 對 屬性的連續呼叫 Current 會傳回相同的物件,直到 MoveNext 呼叫 或 Reset 方法為止。