AsyncEnumerable.SkipLast<TSource> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ソース コレクションの最後のsource要素を省略したcountの要素を含む新しいシーケンスを返します。
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IAsyncEnumerable<TSource> ^ SkipLast(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source, int count);
public static System.Collections.Generic.IAsyncEnumerable<TSource> SkipLast<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, int count);
static member SkipLast : System.Collections.Generic.IAsyncEnumerable<'Source> * int -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function SkipLast(Of TSource) (source As IAsyncEnumerable(Of TSource), count As Integer) As IAsyncEnumerable(Of TSource)
型パラメーター
- TSource
sourceの要素の型。
パラメーター
- source
- IAsyncEnumerable<TSource>
要素を返す IAsyncEnumerable<T> 。
- count
- Int32
シーケンスの末尾から省略する要素の数。
返品
IAsyncEnumerable<TSource>
シーケンスの末尾から要素を引いた source 要素 count 含む新しいシーケンス。
例外
source は nullです。