CodeCharge Studio All C#.NET VB.NET

Year Run-Time Property (.NET)

Applies to

CalendarNavigator control

Syntax

C#.NET

public int Year{get}

VB.NET

Public ReadOnly Property Year() As Integer

Description

Retrives the year component of Date property.

Examples

C#.NET

int selectedYear = CalendarNavigator1.Year;

VB.NET

Dim selectedYear As Integer = CalendarNavigator1.Year

See also

Date Property, Month Property, Day Property, Quarter Property


On-line, printable versions and updates