Class MetaTreeNodeCollection
Represents the collection of meta tree nodes.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class MetaTreeNodeCollection : CollectionBase, IList, ICollection, IEnumerable<MetaTreeNode>, IEnumerable
Constructors
MetaTreeNodeCollection(MetaTreeNode)
Initializes a new instance of the MetaTreeNodeCollection class.
Declaration
public MetaTreeNodeCollection(MetaTreeNode parent_Node)
Parameters
Type | Name | Description |
---|---|---|
MetaTreeNode | parent_Node | The parent node. |
Properties
Item[Int32]
Gets or sets the MetaTreeNode at the specified index.
Declaration
public MetaTreeNode this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the meta tree node. |
Property Value
Type |
---|
MetaTreeNode |
Item[String]
Gets the MetaTreeNode with the specified name.
Declaration
public MetaTreeNode this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
MetaTreeNode | The meta tree node. |
Methods
AcceptIsSelectedChanges(Boolean)
Accepts the changes that are done based on the selection of meta tree node.
Declaration
public void AcceptIsSelectedChanges(bool updateParent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | updateParent | Indicates whether to update the parent node. |
Add(MetaTreeNode)
Adds the specified meta tree node.
Declaration
public int Add(MetaTreeNode metaTreeNode)
Parameters
Type | Name | Description |
---|---|---|
MetaTreeNode | metaTreeNode | The meta tree node which is to be added. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the meta tree node object in the current collection. |
FindByUniqueName(String)
Finds the meta tree node by its unique name.
Declaration
public MetaTreeNode FindByUniqueName(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName | The unique name. |
Returns
Type | Description |
---|---|
MetaTreeNode | The meta tree node. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<MetaTreeNode> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<MetaTreeNode> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Insert(Int32, MetaTreeNode)
Inserts the meta tree node at specified index.
Declaration
public void Insert(int index, MetaTreeNode metaTreeNode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index at which the meta tree node has to be inserted. |
MetaTreeNode | metaTreeNode | The meta tree node which is to be inserted. |
OnInsertComplete(Int32, Object)
Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance.
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which to insert |
System.Object | value | The new value of the element at |
Overrides
OnSetComplete(Int32, Object, Object)
Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance.
Declaration
protected override void OnSetComplete(int index, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which |
System.Object | oldValue | The value to replace with |
System.Object | newValue | The new value of the element at |
Overrides
Remove(MetaTreeNode)
Removes the specified meta tree node.
Declaration
public void Remove(MetaTreeNode metaTreeNode)
Parameters
Type | Name | Description |
---|---|---|
MetaTreeNode | metaTreeNode | The meta tree node which is to be removed. |
RevertIsSelectedChanged(Boolean)
Reverts the changes that are done based on the selection of meta tree node.
Declaration
public void RevertIsSelectedChanged(bool updateParent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | updateParent | Indicates whether to update the parent node. |