Cuemon .NET Framework
Iterator<T> Method

The type of the counter in a for-loop.
The current value of the counter in a for-loop.
One of the enumeration values that specifies the rules to apply as the assignment operator for left-hand operand current and right-hand operand step.
The value to assign to current according to the rule specified by assignment.
Provides a default implementation of a for-iterator callback method.
Syntax
'Declaration
 
Public Shared Function Iterator(Of T As {New, IComparable(Of T), IEquatable(Of T), IConvertible, Struct})( _
   ByVal current As T, _
   ByVal assignment As AssignmentOperator, _
   ByVal step As T _
) As T
public static T Iterator<T>( 
   T current,
   AssignmentOperator assignment,
   T step
)
where T: new(), IComparable<T>, IEquatable<T>, IConvertible, struct

Parameters

current
The current value of the counter in a for-loop.
assignment
One of the enumeration values that specifies the rules to apply as the assignment operator for left-hand operand current and right-hand operand step.
step
The value to assign to current according to the rule specified by assignment.

Type Parameters

T
The type of the counter in a for-loop.

Return Value

The computed result of current having the assignment of step.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LoopUtility Class
LoopUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback