IIntelliPromptSessionCollection Interface
Provides the base requirements for an object that represents a collection of IIntelliPromptSession objects.
public interface IIntelliPromptSessionCollection : IObservableCollection<IIntelliPromptSession>
Properties
this[IIntelliPromptSessionType]
Gets the first IIntelliPromptSession with the specified type.
[C#] In C#, this property is the indexer for the IIntelliPromptSessionCollection interface.
IIntelliPromptSession this[IIntelliPromptSessionType sessionType] { get; }
| Parameter | Type | Description |
|---|---|---|
| sessionType | IIntelliPromptSessionType | The IIntelliPromptSessionType to locate in the collection. |
Property Value
- IIntelliPromptSession:
The first IIntelliPromptSession with the specified type.
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.
int IndexOf(IIntelliPromptSessionType sessionType)
| Parameter | Type | Description |
|---|---|---|
| sessionType | IIntelliPromptSessionType | The IIntelliPromptSessionType to locate in the collection. |
Returns
- int:
The zero-based index of the first occurrence of an IIntelliPromptSession with the specified type within the entire collection, if found; otherwise,
-1.