Class MemberElementCollection
Collection of member elements
Inheritance
Namespace: Syncfusion.Olap.UWP.Reports
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class MemberElementCollection : Collection<MemberElement>
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 parentElement)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parentElement | The parent element. |
Properties
Item[String]
Gets the MemberElement with the specified name.
Declaration
public MemberElement this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The member element name. |
Property Value
Type | Description |
---|---|
MemberElement |
Methods
Add(MemberElement)
Adds the specified member element.
Declaration
public void Add(MemberElement memberElement)
Parameters
Type | Name | Description |
---|---|---|
MemberElement | memberElement | The member element to be added. |
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 |
InsertItem(Int32, MemberElement)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, MemberElement item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
MemberElement | item | The object to insert. The value can be null for reference types. |
SetItem(Int32, MemberElement)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, MemberElement item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to replace. |
MemberElement | item | The new value for the element at the specified index. The value can be null for reference types. |
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. |