Partager via


ManagementPackElementCollection.GetEnumerator Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns an enumerator that iterates through a collection.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackElementCollection(Of T)
Dim returnValue As IEnumerator(Of T)

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator(Of T)
public virtual IEnumerator<T> GetEnumerator ()
public:
virtual IEnumerator<T>^ GetEnumerator ()
public IEnumerator<T> GetEnumerator ()
public function GetEnumerator () : IEnumerator<T>

Return Value

An IEnumerator that can be used to iterate through the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackElementCollection Generic Class
ManagementPackElementCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace