QueryExtensions.SortBy(IQueryable<T>, String) QueryExtensions.SortBy(IQueryable<T>, String) QueryExtensions.SortBy(IQueryable<T>, String) QueryExtensions.SortBy(IQueryable<T>, String) Method

정의

정렬 순서를 지정합니다.Specifies a sort order.

public:
generic <typename T>
 where T : class[System::Runtime::CompilerServices::Extension]
 static System::Linq::IQueryable<T> ^ SortBy(System::Linq::IQueryable<T> ^ source, System::String ^ sortExpression);
public static System.Linq.IQueryable<T> SortBy<T> (this System.Linq.IQueryable<T> source, string sortExpression) where T : class;
static member SortBy : System.Linq.IQueryable<'T (requires 'T : null)> * string -> System.Linq.IQueryable<'T (requires 'T : null)> (requires 'T : null)
<Extension()>
Public Function SortBy(Of T As Class) (source As IQueryable(Of T), sortExpression As String) As IQueryable(Of T)

형식 매개 변수

T

개체의 제네릭 형식입니다.The generic type of the object.

매개 변수

source
IQueryable<T> IQueryable<T> IQueryable<T> IQueryable<T>

정렬할 개체입니다.The object to sort.

sortExpression
String String String String

정렬 식입니다.The sort expression.

반환

source 개체의 정렬된 버전입니다.The sorted version of the source object.

적용 대상