menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TimezoneCollectionBuilder

    Show / Hide Table of Contents

    Class TimezoneCollectionBuilder

    A builder class that holds time zone collections.

    Inheritance
    System.Object
    TimezoneCollectionBuilder
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class TimezoneCollectionBuilder

    Constructors

    TimezoneCollectionBuilder(TimezoneCollection)

    Initializes a new instance of the TimezoneCollectionBuilder class to indicate the time zone collection options.

    Declaration
    public TimezoneCollectionBuilder(TimezoneCollection options)
    Parameters
    Type Name Description
    TimezoneCollection options

    It accepts the TimezoneCollection object.

    Methods

    Datasource(DataSource)

    This field stores the DataManager instance that contains the timezone data.

    Declaration
    public TimezoneCollectionBuilder Datasource(DataSource dataSource)
    Parameters
    Type Name Description
    DataSource dataSource

    It accepts the DataManager instance that contains the timezone data.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Datasource(Action<DataSourceBuilder>)

    It stores the JSON object collection that contains the timezone data.

    Declaration
    public TimezoneCollectionBuilder Datasource(Action<DataSourceBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<DataSourceBuilder> dataSource

    It accepts the JSON object collection that contains the timezone data.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Datasource(IEnumerable)

    This field stores the JSON object collection that contains the timezone data.

    Declaration
    public TimezoneCollectionBuilder Datasource(IEnumerable dataSource)
    Parameters
    Type Name Description
    System.Collections.IEnumerable dataSource

    It accepts the JSON object collection that contains the timezone data.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Datasource(String)

    This field stores the timezone data URL.

    Declaration
    public TimezoneCollectionBuilder Datasource(string dataURL)
    Parameters
    Type Name Description
    System.String dataURL

    It accepts the timezone data URL.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Id(String)

    This field stores the timezone id value.

    Declaration
    public TimezoneCollectionBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id

    It accepts the timezone id value.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Text(String)

    This field stores the timezone name value.

    Declaration
    public TimezoneCollectionBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text

    It accepts the timezone name value.

    Returns
    Type Description
    TimezoneCollectionBuilder

    Value(String)

    This field stores the timezone value.

    Declaration
    public TimezoneCollectionBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value

    It accepts the timezone value.

    Returns
    Type Description
    TimezoneCollectionBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved