Bridge

DateTime..::..Year Property

Gets the year component of the date represented by this instance.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int Year { get; }
<TemplateAttribute> _
Public ReadOnly Property Year As Integer
	Get
[TemplateAttribute]
public:
property int^ Year {
	int^ get ();
}

Return Value

The year, between 1 and 9999.