Table of Contents

Class NameResolutionCollection

Namespace
Microsoft.Exchange.WebServices.Data
Assembly
Microsoft.Exchange.WebServices.dll

Represents a list of suggested name resolutions.

public sealed class NameResolutionCollection : IEnumerable<NameResolution>, IEnumerable
Inheritance
NameResolutionCollection
Implements
Inherited Members

Properties

Count

Gets the total number of elements in the list.

public int Count { get; }

Property Value

int

IncludesAllResolutions

Gets a value indicating whether more suggested resolutions are available. ResolveName only returns a maximum of 100 name resolutions. When IncludesAllResolutions is false, there were more than 100 matching names on the server. To narrow the search, provide a more precise name to ResolveName.

public bool IncludesAllResolutions { get; }

Property Value

bool

this[int]

Gets the name resolution at the specified index.

public NameResolution this[int index] { get; }

Parameters

index int

The index of the name resolution to get.

Property Value

NameResolution

The name resolution at the speicfied index.

Methods

GetEnumerator()

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

public IEnumerator<NameResolution> GetEnumerator()

Returns

IEnumerator<NameResolution>

An IEnumerator for the collection.