T
IdeaBlade DevForce 2010 Help Reference
Repeat<T> Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnumerableFns Class : Repeat<T> Method



items
count
Repeat the items enumerable count times.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Function Repeat(Of T)( _
   ByVal items As IEnumerable(Of T), _
   ByVal count As Integer _
) As IEnumerable(Of T)
Visual Basic (Usage)Copy Code
Dim items As IEnumerable(Of T)
Dim count As Integer
Dim value As IEnumerable(Of T)
 
value = EnumerableFns.Repeat(Of T)(items, count)
C# 
[ExtensionAttribute()]
public static IEnumerable<T> Repeat<T>( 
   IEnumerable<T> items,
   int count
)
C++/CLI 
[ExtensionAttribute()]
public:
static IEnumerable<T^>^ Repeatgeneric<typename T>
( 
   IEnumerable<T^>^ items,
   int count
) 

Parameters

items
count

Type Parameters

T

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.