HeaderGroup.Iterator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Iterator() |
Returns an iterator over this group of headers. |
| Iterator(String) |
Returns an iterator over the headers with a given name in this group. |
Iterator()
Returns an iterator over this group of headers.
[Android.Runtime.Register("iterator", "()Lorg/apache/http/HeaderIterator;", "GetIteratorHandler")]
public virtual Org.Apache.Http.IHeaderIterator? Iterator();
[<Android.Runtime.Register("iterator", "()Lorg/apache/http/HeaderIterator;", "GetIteratorHandler")>]
abstract member Iterator : unit -> Org.Apache.Http.IHeaderIterator
override this.Iterator : unit -> Org.Apache.Http.IHeaderIterator
Returns
An iterator over the headers in this group.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Iterator(String)
Returns an iterator over the headers with a given name in this group.
[Android.Runtime.Register("iterator", "(Ljava/lang/String;)Lorg/apache/http/HeaderIterator;", "GetIterator_Ljava_lang_String_Handler")]
public virtual Org.Apache.Http.IHeaderIterator? Iterator(string? name);
[<Android.Runtime.Register("iterator", "(Ljava/lang/String;)Lorg/apache/http/HeaderIterator;", "GetIterator_Ljava_lang_String_Handler")>]
abstract member Iterator : string -> Org.Apache.Http.IHeaderIterator
override this.Iterator : string -> Org.Apache.Http.IHeaderIterator
Parameters
- name
- String
the name of the headers over which to iterate, or
null for all headers
Returns
An iterator over the headers in this group that have the specified name, or over all headers in this group if name is null.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.