CalendarView Constructors
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.
Overloads
CalendarView(DateTime, DateTime) |
Initializes a new instance of the CalendarView class with the specified start and end dates. |
CalendarView(DateTime, DateTime, Int32) |
Initializes a new instance of the CalendarView class with the specified start and end dates and that will contain the specified maximum number of items or less. |
CalendarView(DateTime, DateTime)
Initializes a new instance of the CalendarView class with the specified start and end dates.
public:
CalendarView(DateTime startDate, DateTime endDate);
public CalendarView (DateTime startDate, DateTime endDate);
Public Sub New (startDate As DateTime, endDate As DateTime)
Parameters
- startDate
- DateTime
The start date.
- endDate
- DateTime
The end date.
Applies to
CalendarView(DateTime, DateTime, Int32)
Initializes a new instance of the CalendarView class with the specified start and end dates and that will contain the specified maximum number of items or less.
public:
CalendarView(DateTime startDate, DateTime endDate, int maxItemsReturned);
public CalendarView (DateTime startDate, DateTime endDate, int maxItemsReturned);
Public Sub New (startDate As DateTime, endDate As DateTime, maxItemsReturned As Integer)
Parameters
- startDate
- DateTime
The start date.
- endDate
- DateTime
The end date.
- maxItemsReturned
- Int32
The maximum number of items that the search operation returns.