AutodiscoverResponseCollection

Inheritance: java.lang.Object, com.aspose.email.AutodiscoverResponse

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericEnumerable

public abstract class AutodiscoverResponseCollection<TResponse> extends AutodiscoverResponse implements System.Collections.Generic.IGenericEnumerable<TResponse>

Represents a collection of responses to a call to the Autodiscover service.

``` TResponse ```: The type of the responses in the collection.

Methods

Method Description
getCount() Gets the number of responses in the collection.
get_Item(int index) Gets the response at the specified index.
iterator() Gets an enumerator that iterates through the elements of the collection.
iterator_() Gets an enumerator that iterates through the elements of the collection.

getCount()

public final int getCount()

Gets the number of responses in the collection.

Returns: int

get_Item(int index)

public final TResponse get_Item(int index)

Gets the response at the specified index.

Parameters:

Parameter Type Description
index int Index.

Returns: TResponse

iterator()

public final System.Collections.Generic.IGenericEnumerator<TResponse> iterator()

Gets an enumerator that iterates through the elements of the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator - An IEnumerator for the collection.

iterator_()

public final System.Collections.IEnumerator iterator_()

Gets an enumerator that iterates through the elements of the collection.

Returns: com.aspose.ms.System.Collections.IEnumerator - An IEnumerator for the collection.