Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
239 lines (227 sloc) 14.4 KB
<Type Name="X509ChainElementEnumerator" FullName="System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator">
<TypeSignature Language="C#" Value="public sealed class X509ChainElementEnumerator : System.Collections.IEnumerator" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit X509ChainElementEnumerator extends System.Object implements class System.Collections.IEnumerator" />
<TypeSignature Language="DocId" Value="T:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class X509ChainElementEnumerator&#xA;Implements IEnumerator" />
<TypeSignature Language="C++ CLI" Value="public ref class X509ChainElementEnumerator sealed : System::Collections::IEnumerator" />
<TypeSignature Language="F#" Value="type X509ChainElementEnumerator = class&#xA; interface IEnumerator" />
<AssemblyInfo>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.IEnumerator</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>Supports a simple iteration over an <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Enumerators provide read-only access to the data in a collection. Enumerators cannot be used to modify the underlying collection.
Initially, the enumerator is positioned before the first element in the collection. <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset%2A> resets the enumerator to this position. At this position, calling <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A> throws an exception. Therefore, you must call <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext%2A> to advance the enumerator to the first element of the collection before reading the value of <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A>.
This class inherits from <xref:System.Collections.IEnumerator>. See the class for more information about enumerating over a collection.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="Current">
<MemberSignature Language="C#" Value="public System.Security.Cryptography.X509Certificates.X509ChainElement Current { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Security.Cryptography.X509Certificates.X509ChainElement Current" />
<MemberSignature Language="DocId" Value="P:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Current As X509ChainElement" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Security::Cryptography::X509Certificates::X509ChainElement ^ Current { System::Security::Cryptography::X509Certificates::X509ChainElement ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Current : System.Security.Cryptography.X509Certificates.X509ChainElement" Usage="System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Cryptography.X509Certificates.X509ChainElement</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</summary>
<value>The current element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A> does not move the position of the enumerator and consecutive calls to <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A> return the same object until either <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext%2A> or <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset%2A> is called.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The enumerator is positioned before the first element of the collection or after the last element.</exception>
</Docs>
</Member>
<Member MemberName="MoveNext">
<MemberSignature Language="C#" Value="public bool MoveNext ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool MoveNext() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext" />
<MemberSignature Language="VB.NET" Value="Public Function MoveNext () As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual bool MoveNext();" />
<MemberSignature Language="F#" Value="abstract member MoveNext : unit -&gt; bool&#xA;override this.MoveNext : unit -&gt; bool" Usage="x509ChainElementEnumerator.MoveNext " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerator.MoveNext</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Advances the enumerator to the next element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</summary>
<returns>
<see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method advances the enumerator to the next element in the collection. The <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator> class inherits from <xref:System.Collections.IEnumerator>; see this class for more information on using enumerators.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
</Docs>
</Member>
<Member MemberName="Reset">
<MemberSignature Language="C#" Value="public void Reset ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Reset() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset" />
<MemberSignature Language="VB.NET" Value="Public Sub Reset ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual void Reset();" />
<MemberSignature Language="F#" Value="abstract member Reset : unit -&gt; unit&#xA;override this.Reset : unit -&gt; unit" Usage="x509ChainElementEnumerator.Reset " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerator.Reset</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets the enumerator to its initial position, which is before the first element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying or deleting elements, the enumerator is irrecoverably invalidated and the next call to <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext%2A> or <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset%2A> throws an <xref:System.InvalidOperationException>.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
</Docs>
</Member>
<Member MemberName="System.Collections.IEnumerator.Current">
<MemberSignature Language="C#" Value="object System.Collections.IEnumerator.Current { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance object System.Collections.IEnumerator.Current" />
<MemberSignature Language="DocId" Value="P:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.System#Collections#IEnumerator#Current" />
<MemberSignature Language="VB.NET" Value=" ReadOnly Property Current As Object Implements IEnumerator.Current" />
<MemberSignature Language="C++ CLI" Value="property System::Object ^ System::Collections::IEnumerator::Current { System::Object ^ get(); };" />
<MemberSignature Language="F#" Usage="System.Collections.IEnumerator.Current" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Collections.IEnumerator.Current</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Security.Cryptography.X509Certificates</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</summary>
<value>The current element in the <see cref="T:System.Security.Cryptography.X509Certificates.X509ChainElementCollection" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A> does not move the position of the enumerator and consecutive calls to <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Current%2A> return the same object until either <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.MoveNext%2A> or <xref:System.Security.Cryptography.X509Certificates.X509ChainElementEnumerator.Reset%2A> is called.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The enumerator is positioned before the first element of the collection or after the last element.</exception>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.