GetEnumerator Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Use this method to return a reference to an enumerator object, which is used to iterate over the DiscountPrioritySet..::.DiscountPrioritiesDataTable.
Namespace: Microsoft.CommerceServer.Marketing
Assembly: Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)
Syntax
'Declaration
Public Function GetEnumerator As IEnumerator
'Usage
Dim instance As DiscountPrioritySet..::.DiscountPrioritiesDataTable
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
Handle to an IEnumerator interface implementation for this table. An Enumerator object for the DiscountPrioritiesDataTable instance.
Implements
IEnumerable..::.GetEnumerator()()()
Remarks
Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection.
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.
See Also
Reference
DiscountPrioritySet..::.DiscountPrioritiesDataTable Class