Miner.Responder.Shared.Extensions Namespace > EnumerableExtensions Class : Split<T> Method |
'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 )
public function Split( list: System.Collections.Generic.IEnumerable; parts: System.Integer ): System.Collections.Generic.IEnumerable; static;
System.Runtime.CompilerServices.ExtensionAttribute() public static function Split( list : System.Collections.Generic.IEnumerable, parts : System.int ) : System.Collections.Generic.IEnumerable;
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