TimeBlockCollectionGetBlockWithMaxTime Method

Return the time block with the maximum amount of available time.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static TimeBlockItem GetBlockWithMaxTime(
	List<TimeBlockItem> blocks
)

Parameters

blocks  ListTimeBlockItem
Reference to the collection of blocks to test.

Return Value

TimeBlockItem
Reference to the time block with the maximum amount of available time in the group, if found. Otherwise, null.

See Also