TaskItem.Explicit(TaskItem to String) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This allows an explicit typecast from a "TaskItem" to a "string", returning the escaped ItemSpec for this item.
public:
static explicit operator System::String ^(Microsoft::Build::Utilities::TaskItem ^ taskItemToCast);
public static explicit operator string (Microsoft.Build.Utilities.TaskItem taskItemToCast);
static member op_Explicit : Microsoft.Build.Utilities.TaskItem -> string
Public Shared Narrowing Operator CType (taskItemToCast As TaskItem) As String
Parameters
- taskItemToCast
- TaskItem
The item to operate on.
Returns
The item-spec of the item.
Remarks
The equivalent method for this operator is TaskItem.ToString()