ComponentOne ASP.NET MVC Controls
OrderBy Method (BaseCollectionViewServiceBuilder<T,TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Class : OrderBy Method
A name list sorting by in ascending order.
Configurates C1.Web.Mvc.BaseCollectionViewService<T>.SortDescriptions. Sets the sort descriptions with a name list in ascending order.
Syntax
'Declaration
 
Public Function OrderBy( _
   ByVal ParamArray names() As String _
) As TBuilder
public TBuilder OrderBy( 
   params string[] names
)

Parameters

names
A name list sorting by in ascending order.

Return Value

Current builder.
See Also

Reference

BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Class
BaseCollectionViewServiceBuilder<T,TControl,TBuilder> Members