In This Article

TabbedMdiContainerCollection Class

Stores a collection of TabbedMdiContainer objects.

public class TabbedMdiContainerCollection : ReadOnlyCollectionBase
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

this[int]

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 int

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

bool:

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

int:

If found, the index where the TabbedMdiContainer is in the collection; otherwise, -1.

Inherited Members