Class NamedSetCollection
A Collection of NamedSet objects
Inheritance
System.Object
NamedSetCollection
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class NamedSetCollection : Collection<NamedSet>
Constructors
NamedSetCollection()
Initializes a new instance of the NamedSetCollection class.
Declaration
public NamedSetCollection()
NamedSetCollection(CubeSchema)
Initializes a new instance of the DimensionCollection class.
Declaration
public NamedSetCollection(CubeSchema parentCubeSchema)
Parameters
Type | Name | Description |
---|---|---|
CubeSchema | parentCubeSchema | The parent cube schema. |
Methods
FindByName(String)
Finds the named set by its name.
Declaration
public NamedSet FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the named set. |
Returns
Type | Description |
---|---|
NamedSet | The named set object. |
FindByUniqueName(String)
Finds the named set by its unique name.
Declaration
public NamedSet FindByUniqueName(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName | The unique name of the named set. |
Returns
Type | Description |
---|---|
NamedSet | The named set object. |
InsertItem(Int32, NamedSet)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, NamedSet item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
NamedSet | item | The object to insert. The value can be null for reference types. |
SetItem(Int32, NamedSet)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, NamedSet item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to replace. |
NamedSet | item | The new value for the element at the specified index. The value can be null for reference types. |