TabbedMdiContainerCollection Class
Stores a collection of TabbedMdiContainer objects.
public class TabbedMdiContainerCollection : ReadOnlyCollectionBase, ICollection, IEnumerable
- Inheritance:
- Object ReadOnlyCollectionBase Object
Constructors
TabbedMdiContainerCollection()
Initializes a new instance of the TabbedMdiContainerCollection
class.
public TabbedMdiContainerCollection()
Remarks
The default constructor initializes all fields to their default values.
Properties
Item[Int32]
Gets the TabbedMdiContainer at the specified index.
[C#] In C#, this property is the indexer for the TabbedMdiContainerCollection
class.
public TabbedMdiContainer this[int index] { get; }
Parameter | Type | Description |
---|---|---|
index | Int32 | The index of the TabbedMdiContainer to return. |
Property Value
- TabbedMdiContainer:
The TabbedMdiContainer at the specified index.
Methods
Contains(TabbedMdiContainer)
Determines whether the specified TabbedMdiContainer is in the collection.
public bool Contains(TabbedMdiContainer value)
Parameter | Type | Description |
---|---|---|
value | TabbedMdiContainer | The TabbedMdiContainer to look for. |
Returns
- Boolean:
true
if the collection contains the TabbedMdiContainer; otherwise,false
.
IndexOf(TabbedMdiContainer)
Returns the index of the specified TabbedMdiContainer in the collection.
public int IndexOf(TabbedMdiContainer value)
Parameter | Type | Description |
---|---|---|
value | TabbedMdiContainer | The TabbedMdiContainer to look for. |
Returns
- Int32:
If found, the index where the TabbedMdiContainer is in the collection; otherwise,
-1
.