UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DimensionCollection - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DimensionCollection

    Represents the collection of dimension objects.

    Inheritance
    System.Object
    DimensionCollection
    Namespace: Syncfusion.Olap.UWP.Data
    Assembly: Syncfusion.Olap.UWP.dll
    Syntax
    public class DimensionCollection : Collection<Dimension>
    Remarks

    A DimensionCollection is created in CubeSchema to hold all the dimension objects of the current cube. It is associated only with CubeSchema.

    Constructors

    DimensionCollection()

    Initializes a new instance of the DimensionCollection class.

    Declaration
    public DimensionCollection()

    DimensionCollection(CubeSchema)

    Initializes a new instance of the DimensionCollection class.

    Declaration
    public DimensionCollection(CubeSchema parentCubeSchema)
    Parameters
    Type Name Description
    CubeSchema parentCubeSchema

    The parent cube schema.

    Methods

    FindByName(String)

    Finds the dimension by its name.

    Declaration
    public Dimension FindByName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the dimension.

    Returns
    Type Description
    Dimension

    The dimension object.

    FindByUniqueName(String)

    Finds the dimension by its unique name.

    Declaration
    public Dimension FindByUniqueName(string uniqueName)
    Parameters
    Type Name Description
    System.String uniqueName

    The unique name of the dimension.

    Returns
    Type Description
    Dimension

    The dimension object.

    InsertItem(Int32, Dimension)

    Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.

    Declaration
    protected override void InsertItem(int index, Dimension item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which item should be inserted.

    Dimension item

    The object to insert. The value can be null for reference types.

    SetItem(Int32, Dimension)

    Replaces the element at the specified index.

    Declaration
    protected override void SetItem(int index, Dimension item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the element to replace.

    Dimension item

    The new value for the element at the specified index. The value can be null for reference types.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved