SelectedDatesCollection.AddRange Method (DateTime, DateTime)

 

Adds all the dates in the specified range, which includes the first and last dates, to the collection.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void AddRange(
	DateTime start,
	DateTime end
)

Parameters

start
Type: System.DateTime

The first date to add to the collection.

end
Type: System.DateTime

The last date to add to the collection.

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: