ToolWindowCollection Class
Stores a collection of ToolWindow objects.
public class ToolWindowCollection : SimpleReadOnlyCollection<ToolWindow>
- Inheritance:
- object ReadOnlyCollection<ToolWindow> SimpleReadOnlyCollection<ToolWindow> object
Constructors
ToolWindowCollection()
Stores a collection of ToolWindow objects.
public ToolWindowCollection()
Properties
this[string?]
The ToolWindow with the specified key.
public ToolWindow? this[string? key] { get; }
| Parameter | Type | Description |
|---|---|---|
| key | string | The key of the ToolWindow to return. |
Property Value
Methods
Contains(string?)
Determines whether the a ToolWindow with the specified key is in the collection.
public virtual bool Contains(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | The key of the ToolWindow to look for. |
Returns
- bool:
trueif the collection contains a ToolWindow with the specified key; otherwise,false.
IndexOf(string?)
Returns the index of the ToolWindow with the specified key in the collection.
public int IndexOf(string? key)
| Parameter | Type | Description |
|---|---|---|
| key | string | The key of the ToolWindow to look for. |
Returns
- int:
If found, the index where the ToolWindow is in the collection; otherwise,
-1.
Inherited Members
- SimpleReadOnlyCollection<ToolWindow>.FindIndex(Predicate<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.FindIndex(int, Predicate<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.FindIndex(int, int, Predicate<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.FindLastIndex(int, Predicate<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.FindLastIndex(int, int, Predicate<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.ForEach(Action<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.IndexOf(ToolWindow, int)
- SimpleReadOnlyCollection<ToolWindow>.IndexOf(ToolWindow, int, int)
- SimpleReadOnlyCollection<ToolWindow>.LastIndexOf(ToolWindow)
- SimpleReadOnlyCollection<ToolWindow>.LastIndexOf(ToolWindow, int)
- SimpleReadOnlyCollection<ToolWindow>.Sort()
- SimpleReadOnlyCollection<ToolWindow>.Sort(Comparison<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.Sort(IComparer<ToolWindow>)
- SimpleReadOnlyCollection<ToolWindow>.DefaultComparer
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()