ManagementPackFolder.GetItems<T> 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 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.