Share via


IEnumerable(DiscountItem).GetEnumerator Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Namespace:  Microsoft.CommerceServer.Runtime.Marketing
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of DiscountItem)
    Implements IEnumerable(Of DiscountItem).GetEnumerator
'Usage
Dim instance As DiscountItemCollection
Dim returnValue As IEnumerator(Of DiscountItem)

returnValue = CType(instance, IEnumerable(Of DiscountItem)).GetEnumerator()
IEnumerator<DiscountItem> IEnumerable<DiscountItem>.GetEnumerator()
private:
virtual IEnumerator<DiscountItem^>^ GetEnumerator() sealed = IEnumerable<DiscountItem^>::GetEnumerator
JScript does not support explicit interface implementations.

Return Value

Type: System.Collections.Generic..::.IEnumerator<(Of <(DiscountItem>)>)

Implements

IEnumerable<(Of <(T>)>)..::.GetEnumerator()()()

Permissions

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace