Share via


PackageItems.GetEnumerator Method

Returns a IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of PackageItem)
'Usage
Dim instance As PackageItems 
Dim returnValue As IEnumerator(Of PackageItem)

returnValue = instance.GetEnumerator()
public IEnumerator<PackageItem> GetEnumerator()
public:
virtual IEnumerator<PackageItem^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<PackageItem> 
override GetEnumerator : unit -> IEnumerator<PackageItem> 
public final function GetEnumerator() : IEnumerator<PackageItem>

Return Value

Type: System.Collections.Generic.IEnumerator<PackageItem>
A IEnumerator<Parameter> enumerator for use in iterating over the PackageItems collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

PackageItems Class

Microsoft.SqlServer.Dts.Runtime Namespace