Queryable.Append<TSource>(IQueryable<TSource>, TSource) Metoda

Definicja

Zwraca nową sekwencję queryable, która zawiera elementy z source i określone element dołączone na końcu.Returns a new queryable sequence that contains the elements from source plus the specified element appended at the end.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::IQueryable<TSource> ^ Append(System::Linq::IQueryable<TSource> ^ source, TSource element);
public static System.Linq.IQueryable<TSource> Append<TSource> (this System.Linq.IQueryable<TSource> source, TSource element);
static member Append : System.Linq.IQueryable<'Source> * 'Source -> System.Linq.IQueryable<'Source>
<Extension()>
Public Function Append(Of TSource) (source As IQueryable(Of TSource), element As TSource) As IQueryable(Of TSource)

Parametry typu

TSource

Typ elementów w sekwencji queryable.The type of the elements in the queryable sequence.

Parametry

source
IQueryable<TSource>

Sekwencja queryable.A queryable sequence.

element
TSource

Element typu TSource do dołączenia source .An element of type TSource to append to source.

Zwraca

IQueryable<TSource>

Nowa sekwencja queryable, która zawiera elementy z source i określone element dołączone na końcu.A new queryable sequence that contains the elements from source plus the specified element appended at the end.

Wyjątki

source to null.source is null.

Dotyczy