Click or drag to resize

collectionExtensionstakeItemAtT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Vraca objekat iz liste - sa trazene index lokacije koja lupuje

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static T takeItemAt<T>(
	this IList<T> source,
	int index,
	bool doLoop = true,
	bool doReturnLast = false
)
where T : class
Request Example View Source

Parameters

source
Type: System.Collections.GenericIListT
index
Type: SystemInt32
doLoop (Optional)
Type: SystemBoolean
doReturnLast (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListT. 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