Léigh i mBéarla

Comhroinn trí


ISEMenuItemCollection Class

Definition

Collection of menu item.

C++
public ref class ISEMenuItemCollection : Microsoft::PowerShell::Host::ISE::UICollection<Microsoft::PowerShell::Host::ISE::ISEMenuItem ^>
Inheritance
ISEMenuItemCollection

Properties

Count

Gets the number of elements contained in the collection.

(Inherited from UICollection<T>)
IsReadOnly

Gets a value indicating whether the collection is read-only.

(Inherited from UICollection<T>)
Item[Int32]

Gets or sets the element at the specified index.

(Inherited from UICollection<T>)

Methods

Add(String, ScriptBlock, KeyGesture)

Adds a new ISEMenuItem to the collection returning the item just added.

Add(T)

Adds an item to the collection.

(Inherited from UICollection<T>)
Clear()

Removes all items from the collection.

(Inherited from UICollection<T>)
Contains(T)

Determines whether the collection contains a specific value.

(Inherited from UICollection<T>)
CopyTo(T[], Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

(Inherited from UICollection<T>)
GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from UICollection<T>)
IndexOf(T)

Determines the index of a specific item in the collection.

(Inherited from UICollection<T>)
Insert(Int32, T)

Inserts an item to the collection at the specified index.

(Inherited from UICollection<T>)
Remove(T)

Removes the first occurrence of a specific object from the collection.

(Inherited from UICollection<T>)
RemoveAt(Int32)

Removes the collection item at the specified index.

(Inherited from UICollection<T>)

Events

CollectionChanged

Occurs when the collection changes.

(Inherited from UICollection<T>)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from UICollection<T>)

Applies to

Táirge Leaganacha
Windows PowerShell 5.1.0.0