In This Article

DocumentWindowCollection Class

Stores a collection of DocumentWindow objects.

public class DocumentWindowCollection : SimpleReadOnlyCollection<DocumentWindow>
Inheritance:
object ReadOnlyCollection<DocumentWindow> SimpleReadOnlyCollection<DocumentWindow> object

Constructors

DocumentWindowCollection()

Stores a collection of DocumentWindow objects.

public DocumentWindowCollection()

Properties

this[string?]

The DocumentWindow with the specified key.

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

The key of the DocumentWindow to return.

Property Value

DocumentWindow

Methods

Contains(string?)

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

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

The key of the DocumentWindow to look for.

Returns

bool:

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

IndexOf(string?)

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

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

The key of the DocumentWindow to look for.

Returns

int:

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

Inherited Members

Extension Methods