Version

TaskFromName(String) Method

Returns the first Task with the specified name that is associated with this Project, or null if no such task exists.
Syntax
'Declaration
 
Public Overloads Function TaskFromName( _
   ByVal name As String _
) As Task
public Task TaskFromName( 
   string name
)

Parameters

name
The value of the task's Name property.

Return Value

A Task object or null if no task was found.
Remarks

This overload uses a case-insensitive, comparison method for the invariant culture; for a case and/or culture-sensitive comparison use the overload which allows the caller to specify a StringComparison constant.

The value of the task's Name property.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also