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
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:
trueif 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
Inherited Members
- IObservableCollection<IIntelliPromptSession>.ItemAdding
- IObservableCollection<IIntelliPromptSession>.ItemAdded
- IObservableCollection<IIntelliPromptSession>.ItemRemoving
- IObservableCollection<IIntelliPromptSession>.ItemRemoved