Share via


ManagementPackItemCollection<T> Class

Definition

Used to manage a collection of ManagementPackItem objects. This class contains a dictionary of ManagementPackItem objects and provides search functionality for the items.

generic <typename T>
 where T : ManagementPackItempublic ref class ManagementPackItemCollection : System::Collections::Generic::IEnumerable<T>
[System.Serializable]
public class ManagementPackItemCollection<T> : System.Collections.Generic.IEnumerable<T> where T : ManagementPackItem
type ManagementPackItemCollection<'T (requires 'T :> ManagementPackItem)> = class
    interface seq<'T (requires 'T :> ManagementPackItem)>
    interface IEnumerable
Public Class ManagementPackItemCollection(Of T)
Implements IEnumerable(Of T)

Type Parameters

T
Inheritance
ManagementPackItemCollection<T>
Derived
Attributes
Implements

Properties

Count

Gets the number of items in this collection.

IsReadOnly

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

Item[Int32]

Gets the specified item from the collection.

Methods

Contains(Guid)

Checks whether the collection contains the specified item.

Contains(T)

Checks whether the collection contains the specified item.

GetItem(Guid)

Gets the specified item from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<T>.GetEnumerator()

Applies to