DateTimePeriod.CreateNextSeconds(String, Int32) Method

Creates the period whose duration is the specified number of seconds. The period includes the seconds after the current second.

Namespace: DevExpress.DashboardCommon

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


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


Name Type Description
name String

A String value that specifies the period name.

count Int32

An integer value that specifies the number of seconds.


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