Click or drag to resize
Task Scheduler Managed Class Library

TaskFolderCollection.Remove Method

Removes the first occurrence of a specific object from the ICollection<T>.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public bool Remove(
	TaskFolder item
)
Request Example View Source

Parameters

item  TaskFolder
The object to remove from the ICollection<T>.

Return Value

Boolean
true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.
See Also