共用方式為


X509Certificate2Enumerator.Current 屬性

定義

取得 X509Certificate2Collection 物件中目前的項目。

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

屬性值

X509Certificate2Collection 物件中目前的項目。

實作

例外狀況

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

備註

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

適用於