dotnetCHARTING Send comments on this topic.
StartDateOfYear Property
See Also  Example
dotnetCHARTING Namespace > DataEngine Class : StartDateOfYear Property


Gets or sets a DateTime object to determine the start month of the year when DateGrouping is used.

Syntax

Visual Basic (Declaration) 
Public Property StartDateOfYear As Date
Visual Basic (Usage)Copy Code
Dim instance As DataEngine
Dim value As Date
 
instance.StartDateOfYear = value
 
value = instance.StartDateOfYear
C# 
public DateTime StartDateOfYear {get; set;}

Example

This example change the year duration from Jan-Dec to Mar-Feb. Beside month, other values are ignored.
C#Copy Code
de.StartDateOfYear = new DateTime(2004,3,1);
    
Visual BasicCopy Code
de.StartDateOfYear = New DateTime(2004, 3, 1)

Example

Remarks

This property determine the start month of the year. The default is January.

See Also

© 2010 All Rights Reserved.