DevForce Help Reference
Repeat<T> Method


Repeat the items enumerable count times.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(IdeaBlade.Core.EnumerableFns+d__11`1[T])> 
<ExtensionAttribute()> 
Public Shared Function Repeat(Of T)( _ 
   ByVal items As IEnumerable(Of T), _ 
   ByVal count As Integer _ 
) As IEnumerable(Of T)
'Usage
 
Dim items As IEnumerable(Of T)
Dim count As Integer
Dim value As IEnumerable(Of T)
 
value = EnumerableFns.Repeat(Of T)(items, count)
[IteratorStateMachine(IdeaBlade.Core.EnumerableFns+d__11`1[T])] 
[Extension()] 
public static IEnumerable<T> Repeat<T>( 
   IEnumerable<T> items, 
   int count 
)

Parameters

items
count

Type Parameters

T
Requirements

Target Platforms: 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

EnumerableFns Class
EnumerableFns Members

Send Feedback