X509ChainElementEnumerator.Current 屬性
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 X509ChainElementCollection 中目前的項目。
public:
property System::Security::Cryptography::X509Certificates::X509ChainElement ^ Current { System::Security::Cryptography::X509Certificates::X509ChainElement ^ get(); };
C#
public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get; }
member this.Current : System.Security.Cryptography.X509Certificates.X509ChainElement
Public ReadOnly Property Current As X509ChainElement
X509ChainElementCollection 中目前的項目。
列舉值是放在集合的第一個項目之前,或最後一個項目之後。
Current在呼叫 或 Reset 之前 MoveNext ,不會移動列舉值的位置和連續呼叫,以 Current 傳回相同的物件。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 |
.NET Standard | 1.3, 1.4, 1.6, 2.0, 2.1 |