NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList.Repeat

Returns an ArrayList whose elements are copies of the specified value.

[Visual Basic]
Public Shared Function Repeat( _
   ByVal value As Object, _
   ByVal count As Integer _
) As ArrayList
[C#]
public static ArrayList Repeat(
   object value,
   int count
);
[C++]
public: static ArrayList* Repeat(
   Object* value,
   int count
);
[JScript]
public static function Repeat(
   value : Object,
   count : int
) : ArrayList;

Parameters

value
The Object to copy multiple times in the new ArrayList.

-or-

a null reference (in Visual Basic Nothing).

count
The number of times value should be copied.

Return Value

An ArrayList with count number of elements, all of which are copies of value.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace