Share via


ManagementPackFolder.GetItems<T> Method

Definition

Gets the items (management pack elements) stored in the folder.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Configuration::ManagementPackElement Microsoft::EnterpriseManagement::Configuration::ManagementPackElementCollection<T> ^ GetItems();
public Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<T> GetItems<T> () where T : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement;
member this.GetItems : unit -> Microsoft.EnterpriseManagement.Configuration.ManagementPackElementCollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackElement)> (requires 'T :> Microsoft.EnterpriseManagement.Configuration.ManagementPackElement)
Public Function GetItems(Of T As ManagementPackElement) () As ManagementPackElementCollection(Of T)

Type Parameters

T

The type to cast the items as.

Returns

A ManagementPackElementCollection<T> collection of objects in the folder.

Applies to