DateTimePeriod.CreateLastSeconds(String, Int32) Method

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

Namespace: DevExpress.DashboardCommon

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

Syntax

public static DateTimePeriod CreateLastSeconds(
    string name,
    int count
)

Parameters

Type Name Description
String name

A String value that specifies the period name.

Int32 count

An integer value that specifies the number of seconds.

Returns

Type Description
DateTimePeriod

A DateTimePeriod object that is the created period.

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