Year Property

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Returns the year portion of this datetime

Namespace: MySql.Data.Types
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0

Syntax

C#
public int Year { get; set; }
Visual Basic
Public Property Year As Integer
	Get
	Set
Visual C++
public:
property int Year {
	int get ();
	void set (int value);
}

See Also