The requested page is not available for the requested platform. You are viewing the content for Default platform.

DateTimePeriod.CreateNextHours(String, Int32) Method

Creates the period whose duration is the specified number of hours. The period includes the hours after the current hour.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v19.1.Core.dll

Declaration

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

Parameters

Name Type Description
name String

A String value that specifies the period name.

count Int32

An integer value that specifies the number of hours.

Returns

Type Description
DateTimePeriod

A DateTimePeriod object that is the created period.

Remarks

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

See Also