Class MemberElementCollection
Represents the collection of member elements.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Reports
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class MemberElementCollection : CollectionBase, IList, ICollection, IEnumerable, ICloneable<MemberElementCollection>
Constructors
MemberElementCollection()
Initializes a new instance of the MemberElementCollection class.
Declaration
public MemberElementCollection()
MemberElementCollection(Object)
Initializes a new instance of the MemberElementCollection class.
Declaration
public MemberElementCollection(object parent_Element)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent_Element | The parent element. |
Properties
Item[Int32]
Gets or sets the MemberElement at the specified index.
Declaration
public MemberElement this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the member element. |
Property Value
Type |
---|
MemberElement |
Item[String]
Gets the MemberElement with the specified name.
Declaration
public MemberElement this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type | Description |
---|---|
MemberElement |
Methods
Add(MemberElement)
Adds the specified member element.
Declaration
public int Add(MemberElement memberElement)
Parameters
Type | Name | Description |
---|---|---|
MemberElement | memberElement | The member element which is to be added. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the member element object in the current collection. |
Clone()
Clones this instance.
Declaration
public MemberElementCollection Clone()
Returns
Type | Description |
---|---|
MemberElementCollection | A copy of this instance. |
FindMemberElementByName(String)
Finds the member element by its name.
Declaration
public MemberElement FindMemberElementByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the member element. |
Returns
Type | Description |
---|---|
MemberElement |
FindMemberElementByUniqueName(String)
Finds the member element by its unique name.
Declaration
public MemberElement FindMemberElementByUniqueName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The unique name of the member element. |
Returns
Type | Description |
---|---|
MemberElement |
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(MemberElement)
Removes the specified member element.
Declaration
public void Remove(MemberElement memberElement)
Parameters
Type | Name | Description |
---|---|---|
MemberElement | memberElement | The member element which is to be removed. |
UpdateMemberElementParent(Object)
Updates the parent of member element.
Declaration
public void UpdateMemberElementParent(object parent)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parent | The parent of member element. |