ArcFM Solution Developer Guide
Split<T> Method


Given an enumeration of items break into Items will not be in the same order as given
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function Split(Of T)( _
   ByVal list As System.Collections.Generic.IEnumerable(Of T), _
   ByVal parts As System.Integer _
) As System.Collections.Generic.IEnumerable(Of List(Of T))
'Usage
 
Dim list As System.Collections.Generic.IEnumerable(Of T)
Dim parts As System.Integer
Dim value As System.Collections.Generic.IEnumerable(Of List(Of T))
 
value = EnumerableExtensions.Split(Of T)(list, parts)
[System.Runtime.CompilerServices.Extension()]
public static System.Collections.Generic.IEnumerable<List<T>> Split<T>( 
   System.Collections.Generic.IEnumerable<T> list,
   System.int parts
)

Parameters

list
parts

Type Parameters

T
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members

 

 


Send Comment