WindowTabCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class WindowTabCollection sealed : IIterable<WindowTab ^>, IVector<WindowTab ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.UI.Shell.WindowTabManagerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowTabCollection final : IIterable<WindowTab>, IVector<WindowTab>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.UI.Shell.WindowTabManagerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowTabCollection : IEnumerable<WindowTab>, IList<WindowTab>
Public NotInheritable Class WindowTabCollection
Implements IEnumerable(Of WindowTab), IList(Of WindowTab)
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.23504.0)
|
API contract |
Windows.UI.Shell.WindowTabManagerContract (introduced in v1.0)
|
Remarks
Important
This API is for Win32 desktop apps only. UWP and other app types are not supported.
Properties
Size |
Gets the size (count) of the collection. |
Methods
Append(WindowTab) |
Adds a new item to the end of the collection. |
Clear() |
Removes all items from the collection. |
First() |
Returns an iterator for the items in the collection. |
GetAt(UInt32) |
Returns the item located at the specified index. |
GetMany(UInt32, WindowTab[]) |
Retrieves multiple elements in a single pass through the iterator. |
GetView() |
Gets an immutable view into the collection. |
IndexOf(WindowTab, UInt32) |
Retrieves the index of the specified item. |
InsertAt(UInt32, WindowTab) |
Inserts the specified item at the specified index. |
MoveTab(WindowTab, UInt32) |
Moves the specified window tab to a new location in the collection. |
RemoveAt(UInt32) |
Removes the item at the specified index. |
RemoveAtEnd() |
Removes the last item in the collection. |
ReplaceAll(WindowTab[]) |
Initially clears the collection, then inserts the provided array as new items. |
SetAt(UInt32, WindowTab) |
Sets the value at the specified index to the specified |