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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기