CodeCharge Studio All C#.NET VB.NET

Year Run-Time Property (.NET)

Applies to

Calendar control

Syntax

C#.NET

public int Year{get;set;}

VB.NET

Public Property Year() As Integer

Description

Retrives or specifies the year component of Date property.

Examples

C#.NET

Calendar1.Year = 10;

VB.NET

Calendar1.Year = 10

See also

Date Property, Month Property, Day Property


On-line, printable versions and updates