CollectionExtensionsSortByPositionTObject Method

CVB.Net Documentation
Sort a list of position objects by their sortDirection to a sort direction.

Namespace:  Stemmer.Cvb.Collections.Generic
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static IEnumerable<TObject> SortByPosition<TObject>(
	this IEnumerable<TObject> list,
	IPosition sortDirection
)
where TObject : IPosition

Parameters

list
Type: System.Collections.GenericIEnumerableTObject
list to be sorted
sortDirection
Type: Stemmer.CvbIPosition
vector that gives the direction in which to order the objects

Type Parameters

TObject
object type

Return Value

Type: IEnumerableTObject

[Missing <returns> documentation for "M:Stemmer.Cvb.Collections.Generic.CollectionExtensions.SortByPosition``1(System.Collections.Generic.IEnumerable{``0},Stemmer.Cvb.IPosition)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference