'Declaration Public Function ToggleItem( _ ByVal toggleID As String, _ ByVal cancellationToken As CancellationToken _ ) As Boolean
public bool ToggleItem( string toggleID, CancellationToken cancellationToken )
Parameters
- toggleID
- The ID of the item to toggle.
- cancellationToken
- System.Threading.CancellationToken that can be used to cancel an action.
Return Value
true if item was successfully toggled, false otherwise.