MindFusion.Wpf Pack Programmer's Guide
Selection.Add Method (DateTime, DateTime, Contact, Resource, Location, Task)
See Also
 





Adds the specified date range to the selection of the specified resource.

Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public void Add (
    DateTime start,
    DateTime end,
    Contact contact,
    Resource resource,
    Location location,
    Task task
)

Visual Basic  Copy Code

Public Sub Add ( _
    start As DateTime, _
    end As DateTime, _
    contact As Contact, _
    resource As Resource, _
    location As Location, _
    task As Task _
)

 Parameters

start

The start of the time range to be added to the selection.

end

The end of the time range to be added to the selection.

contact
A reference to a Contact to associate the selection with.
resource
A reference to a Resource to associate the selection with.
location
A reference to a Location to associate the selection with.
task
A reference to a Task to associate the selection with.

 Remarks

Either all of the parameters contact, resource, location and task must be set to null (Nothing in Visual Basic) or only one of them should be a non-null reference.

 See Also

Add Method Overload List
Selection Members
Selection Class
MindFusion.Scheduling.Wpf Namespace