In This Article

TabbedMdiWindowCollection Class

Stores a collection of TabbedMdiWindow objects.

public class TabbedMdiWindowCollection : ReadOnlyCollectionBase
Inheritance:
object ReadOnlyCollectionBase object

Constructors

TabbedMdiWindowCollection()

Initializes a new instance of the TabbedMdiWindowCollection class.

public TabbedMdiWindowCollection()

Remarks

The default constructor initializes all fields to their default values.

Properties

this[int]

Gets the TabbedMdiWindow at the specified index.

[C#] In C#, this property is the indexer for the TabbedMdiWindowCollection class.

public TabbedMdiWindow this[int index] { get; }
Parameter Type Description
index int

The index of the TabbedMdiWindow to return.

Property Value

TabbedMdiWindow:

The TabbedMdiWindow at the specified index.

this[string]

Gets the TabbedMdiWindow with the specified key.

public TabbedMdiWindow this[string key] { get; }
Parameter Type Description
key string

The key of the TabbedMdiWindow to return.

Property Value

TabbedMdiWindow:

The TabbedMdiWindow with the specified key.

Methods

Contains(TabbedMdiWindow)

Determines whether the specified TabbedMdiWindow is in the collection.

public bool Contains(TabbedMdiWindow value)
Parameter Type Description
value TabbedMdiWindow

The TabbedMdiWindow to look for.

Returns

bool:

true if the collection contains the TabbedMdiWindow; otherwise, false.

Contains(string)

Determines whether the a TabbedMdiWindow with the specified key is in the collection.

public virtual bool Contains(string key)
Parameter Type Description
key string

The key of the TabbedMdiWindow to look for.

Returns

bool:

true if the collection contains a TabbedMdiWindow with the specified key; otherwise, false.

IndexOf(TabbedMdiWindow)

Returns the index of the specified TabbedMdiWindow in the collection.

public int IndexOf(TabbedMdiWindow value)
Parameter Type Description
value TabbedMdiWindow

The TabbedMdiWindow to look for.

Returns

int:

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

IndexOf(string)

Returns the index of the TabbedMdiWindow with the specified key in the collection.

public int IndexOf(string key)
Parameter Type Description
key string

The key of the TabbedMdiWindow to look for.

Returns

int:

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

ToArray(Type)

Copies the elements of the collection to a new array of the specified type.

public virtual Array ToArray(Type type)
Parameter Type Description
type Type

The Type of array to create and copy elements to.

Returns

Array:

An array of the specified type containing copies of the elements of the collection.

Inherited Members