CalendarDateRange 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.
Initializes a new instance of the CalendarDateRange class.
Overloads
CalendarDateRange() |
Initializes a new instance of the CalendarDateRange class. |
CalendarDateRange(DateTime) |
Initializes a new instance of the CalendarDateRange class with a single date. |
CalendarDateRange(DateTime, DateTime) |
Initializes a new instance of the CalendarDateRange class with a range of dates. |
CalendarDateRange()
Initializes a new instance of the CalendarDateRange class.
public:
CalendarDateRange();
public CalendarDateRange ();
Public Sub New ()
Applies to
CalendarDateRange(DateTime)
Initializes a new instance of the CalendarDateRange class with a single date.
public:
CalendarDateRange(DateTime day);
public CalendarDateRange (DateTime day);
new System.Windows.Controls.CalendarDateRange : DateTime -> System.Windows.Controls.CalendarDateRange
Public Sub New (day As DateTime)
Parameters
- day
- DateTime
The date to add.
Applies to
CalendarDateRange(DateTime, DateTime)
Initializes a new instance of the CalendarDateRange class with a range of dates.
public:
CalendarDateRange(DateTime start, DateTime end);
public CalendarDateRange (DateTime start, DateTime end);
new System.Windows.Controls.CalendarDateRange : DateTime * DateTime -> System.Windows.Controls.CalendarDateRange
Public Sub New (start As DateTime, end As DateTime)
Parameters
- start
- DateTime
The start of the range to be represented.
- end
- DateTime
The end of the range to be represented.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om