ExcludeExtensionExcludeT Method
Excludes a contiguous number of elements from a sequence starting
at a given index.
Namespace: MoreLinq.ExtensionsAssembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
public static IEnumerable<T> Exclude<T>(
this IEnumerable<T> sequence,
int startIndex,
int count
)
<ExtensionAttribute>
Public Shared Function Exclude(Of T) (
sequence As IEnumerable(Of T),
startIndex As Integer,
count As Integer
) As IEnumerable(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<T>^ Exclude(
IEnumerable<T>^ sequence,
int startIndex,
int count
)
[<ExtensionAttribute>]
static member Exclude :
sequence : IEnumerable<'T> *
startIndex : int *
count : int -> IEnumerable<'T>
- sequence IEnumerableT
- The sequence to exclude elements from
- startIndex Int32
- The zero-based index at which to begin excluding elements
- count Int32
- The number of elements to exclude
- T
- The type of the elements of the sequence
IEnumerableTA sequence that excludes the specified portion of elementsIn Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).