summaryM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)

Namespace: DotNetNuke.Services.Assets
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static IOrderedQueryable<T> ApplyOrder<T>(
	IQueryable<T> source,
	string propertyName,
	bool asc
)
Visual Basic
Public Shared Function ApplyOrder(Of T) ( 
	source As IQueryable(Of T),
	propertyName As String,
	asc As Boolean
) As IOrderedQueryable(Of T)

Parameters

source
Type: System.Linq..::..IQueryable<(Of <(<'T>)>)>
paramsourceM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)
propertyName
Type: System..::..String
parampropertyNameM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)
asc
Type: System..::..Boolean
paramascM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)

Type Parameters

T
typeparamTM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)

Return Value

returnsM:DotNetNuke.Services.Assets.AssetManager.ApplyOrder``1(System.Linq.IQueryable{``0},System.String,System.Boolean)

See Also