UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MemberCollection

    Show / Hide Table of Contents

    Class MemberCollection

    Gets a read-only, on-demand collection of Member objects contained by a Position, a Level, or a Tuple.

    Inheritance
    System.Object
    MemberCollection
    Namespace: Syncfusion.Olap.UWP.Data
    Assembly: Syncfusion.Olap.UWP.dll
    Syntax
    public class MemberCollection : Collection<Member>

    Constructors

    MemberCollection()

    Initializes a new instance of the MemberCollection class.

    Declaration
    public MemberCollection()

    MemberCollection(Object)

    Initializes a new instance of the MemberCollection class.

    Declaration
    public MemberCollection(object parent)
    Parameters
    Type Name Description
    System.Object parent

    The parent.

    Properties

    Item[Int32]

    Gets or sets the Member at the specified index.

    Declaration
    public Member this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index

    Property Value
    Type Description
    Member

    ParentLevel

    Gets or sets the parent level.

    Declaration
    public Level ParentLevel { get; set; }
    Property Value
    Type Description
    Level

    The parent level.

    Methods

    AddRange(MemberCollection)

    Adds the collection of member to the list

    Declaration
    public void AddRange(MemberCollection memberCollection)
    Parameters
    Type Name Description
    MemberCollection memberCollection

    The member collection.

    Contains(Member)

    Determines whether [contains] [the specified member].

    Declaration
    public bool Contains(Member member)
    Parameters
    Type Name Description
    Member member

    The member.

    Returns
    Type Description
    System.Boolean

    true if [contains] [the specified member]; otherwise, false.

    CopyTo(Member[], Int32)

    Copies to.

    Declaration
    public void CopyTo(Member[] memberArray, int index)
    Parameters
    Type Name Description
    Member[] memberArray

    The member array.

    System.Int32 index

    The index.

    FindByName(String)

    Finds the Member by its name

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

    The name\ of the member object

    Returns
    Type Description
    Member

    Member object

    FindByUniqueName(String)

    Finds the Member by its unique name

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

    Name of the unique.

    Returns
    Type Description
    Member

    Member object returned if found else null is returned

    IndexOf(Member)

    Indexes the of.

    Declaration
    public int IndexOf(Member member)
    Parameters
    Type Name Description
    Member member

    The member.

    Returns
    Type Description
    System.Int32

    index of the Member object in the current collection

    Insert(Int32, Member)

    Inserts the member to the specified index

    Declaration
    public void Insert(int index, Member member)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Member member

    The member.

    Remove(Member)

    Removes the specified member.

    Declaration
    public void Remove(Member member)
    Parameters
    Type Name Description
    Member member

    The member.

    RemoveAt(Int32)

    Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the element to remove.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    index is less than zero. -or- index is equal to or greater than System.Collections.CollectionBase.Count.

    Extension Methods

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