X509ChainElementEnumerator 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
支援在 X509ChainElementCollection 上的簡易反覆運算。 此類別無法獲得繼承。
public ref class X509ChainElementEnumerator sealed : System::Collections::Generic::IEnumerator<System::Security::Cryptography::X509Certificates::X509ChainElement ^>
public ref class X509ChainElementEnumerator sealed : System::Collections::IEnumerator
public sealed class X509ChainElementEnumerator : System.Collections.Generic.IEnumerator<System.Security.Cryptography.X509Certificates.X509ChainElement>
public sealed class X509ChainElementEnumerator : System.Collections.IEnumerator
type X509ChainElementEnumerator = class
interface IEnumerator<X509ChainElement>
interface IEnumerator
interface IDisposable
type X509ChainElementEnumerator = class
interface IEnumerator
Public NotInheritable Class X509ChainElementEnumerator
Implements IEnumerator(Of X509ChainElement)
Public NotInheritable Class X509ChainElementEnumerator
Implements IEnumerator
- 繼承
-
X509ChainElementEnumerator
- 實作
列舉值提供集合中數據的唯讀存取權。 列舉值無法用來修改基礎集合。
一開始,列舉程式位在集合中的第一個項目之前。 Reset 將列舉值重設為這個位置。 在此位置,呼叫 Current 會擲回例外狀況。 因此,在讀取 MoveNext 的值之前,必須呼叫 Current 以將列舉值前移至集合的第一個項目。
這個類別繼承自 IEnumerator。 如需列舉集合的詳細資訊,請參閱 類別。
Current |
取得 X509ChainElementCollection 中目前的項目。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
Move |
使列舉值前進至 X509ChainElementCollection 中的下一個項目。 |
Reset() |
將列舉值設定至其初始位置,也就是 X509ChainElementCollection 中的第一個項目之前。 |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
IDisposable. |
執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 |
IEnumerator. |
取得 X509ChainElementCollection 中目前的項目。 |
產品 | 版本 |
---|---|
.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, 8, 9, 10 |
.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, 4.8.1 |
.NET Standard | 1.3, 1.4, 1.6, 2.0, 2.1 |