TimeBlockCollectionGetBlockWithMaxTime Method
Return the time block with the maximum amount of available time.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static TimeBlockItem GetBlockWithMaxTime(
List<TimeBlockItem> blocks
)
Public Shared Function GetBlockWithMaxTime (
blocks As List(Of TimeBlockItem)
) As TimeBlockItem
No code example is currently available or this language may not be supported.
- blocks ListTimeBlockItem
-
Reference to the collection of blocks to test.
TimeBlockItem
Reference to the time block with the maximum amount of available time
in the group, if found. Otherwise, null.