DateTimePeriod.CreateNextYears(String, Int32) Method

Creates the period whose duration is the specified number of years. The period includes the years after the current year.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll


public static DateTimePeriod CreateNextYears(
    string name,
    int count
Public Shared Function CreateNextYears(
    name As String,
    count As Integer
) As DateTimePeriod


Type Name Description
String name

A String value that specifies the period name.

Int32 count

An integer value that specifies the number of years.


Type Description

A DateTimePeriod object that is the created period.


To learn how to specify custom periods, see the description of the DateTimePeriod class.

See Also