GetEnumerator Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Retrieves an enumerator that can iterate through the current collection.
Namespace: Microsoft.CommerceServer.Orders
Assembly: Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As PaymentMethodCollection
Dim returnValue As IEnumerator
returnValue = instance.GetEnumerator()
public IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() sealed
public final function GetEnumerator() : IEnumerator
Return Value
Type: System.Collections..::.IEnumerator
An enumerator that can iterate through the collection.
Implements
IEnumerable..::.GetEnumerator()()()
Remarks
Use this method to retrieve the enumerator for the PaymentMethodCollection.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.