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
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:
trueif 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
- SimpleReadOnlyCollection<DocumentWindow>.FindIndex(Predicate<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.FindIndex(int, Predicate<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.FindIndex(int, int, Predicate<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.FindLastIndex(int, Predicate<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.FindLastIndex(int, int, Predicate<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.ForEach(Action<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.IndexOf(DocumentWindow, int)
- SimpleReadOnlyCollection<DocumentWindow>.IndexOf(DocumentWindow, int, int)
- SimpleReadOnlyCollection<DocumentWindow>.LastIndexOf(DocumentWindow)
- SimpleReadOnlyCollection<DocumentWindow>.LastIndexOf(DocumentWindow, int)
- SimpleReadOnlyCollection<DocumentWindow>.Sort()
- SimpleReadOnlyCollection<DocumentWindow>.Sort(Comparison<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.Sort(IComparer<DocumentWindow>)
- SimpleReadOnlyCollection<DocumentWindow>.DefaultComparer
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()