In This Article

IIntelliPromptSessionCollection Interface

Provides the base requirements for an object that represents a collection of IIntelliPromptSession objects.

public interface IIntelliPromptSessionCollection : IObservableCollection<IIntelliPromptSession>

Properties

this[IIntelliPromptSessionType]

The first IIntelliPromptSession with the specified type.

IIntelliPromptSession? this[IIntelliPromptSessionType sessionType] { get; }
Parameter Type Description
sessionType IIntelliPromptSessionType

The IIntelliPromptSessionType to locate in the collection.

Property Value

IIntelliPromptSession

Methods

Contains(IIntelliPromptSessionType)

Determines whether an IIntelliPromptSession with the specified type is in the collection.

bool Contains(IIntelliPromptSessionType sessionType)
Parameter Type Description
sessionType IIntelliPromptSessionType

The IIntelliPromptSessionType to locate in the collection.

Returns

bool:

true if an IIntelliPromptSession with the specified type is found in the collection; otherwise, false.

IndexOf(IIntelliPromptSessionType)

Searches for an IIntelliPromptSession with the specified type and returns the zero-based index of the first occurrence within the entire collection or -1 if not found.

int IndexOf(IIntelliPromptSessionType sessionType)
Parameter Type Description
sessionType IIntelliPromptSessionType

The IIntelliPromptSessionType to locate in the collection.

Returns

int

Inherited Members

Extension Methods