ManagementPackElementInfoCollection<T>.GetItem Method
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.
Gets an item from the collection.
Overloads
GetItem(ManagementPack) |
Gets an item from the collection that contains information about a management pack. |
GetItem(ManagementPackElement) |
Gets an item from the collection that contains information about a management pack element. |
GetItem(ManagementPackSubElement) |
Gets an item from the collection that contains information about a management pack child element. |
GetItem(ManagementPack)
Gets an item from the collection that contains information about a management pack.
public:
T GetItem(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ mp);
public T GetItem (Microsoft.EnterpriseManagement.Configuration.ManagementPack mp);
override this.GetItem : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> 'T
Public Function GetItem (mp As ManagementPack) As T
Parameters
The management pack to get information about.
Returns
Returns an object of type T.
An item from the collection that contains information about a management pack.
Applies to
GetItem(ManagementPackElement)
Gets an item from the collection that contains information about a management pack element.
public:
T GetItem(Microsoft::EnterpriseManagement::Configuration::ManagementPackElement ^ element);
public T GetItem (Microsoft.EnterpriseManagement.Configuration.ManagementPackElement element);
override this.GetItem : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement -> 'T
Public Function GetItem (element As ManagementPackElement) As T
Parameters
- element
- ManagementPackElement
The management pack element to get information about.
Returns
Returns an object of type T.
An item from the collection that contains information about a management pack element.
Applies to
GetItem(ManagementPackSubElement)
Gets an item from the collection that contains information about a management pack child element.
public:
T GetItem(Microsoft::EnterpriseManagement::Configuration::ManagementPackSubElement ^ subelement);
public T GetItem (Microsoft.EnterpriseManagement.Configuration.ManagementPackSubElement subelement);
override this.GetItem : Microsoft.EnterpriseManagement.Configuration.ManagementPackSubElement -> 'T
Public Function GetItem (subelement As ManagementPackSubElement) As T
Parameters
- subelement
- ManagementPackSubElement
The management pack child element to get information about.
Returns
Returns an object of type T.
An item from the collection that contains information about a management pack child element.