WinForms

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

    Show / Hide Table of Contents

    Class MemberCollection

    Represents the collection of member objects.

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<Member>
    MemberCollection
    Implements
    System.Collections.Generic.IList<Member>
    System.Collections.Generic.ICollection<Member>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<Member>
    System.Collections.Generic.IReadOnlyCollection<Member>
    System.Collections.Generic.IEnumerable<Member>
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Add(Syncfusion.Olap.Data.Member)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Clear()
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.CopyTo(Syncfusion.Olap.Data.Member[], System.Int32)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Contains(Syncfusion.Olap.Data.Member)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.GetEnumerator()
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.IndexOf(Syncfusion.Olap.Data.Member)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Insert(System.Int32, Syncfusion.Olap.Data.Member)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Remove(Syncfusion.Olap.Data.Member)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.RemoveAt(System.Int32)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.ClearItems()
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.RemoveItem(System.Int32)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.Add(System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.Contains(System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.IndexOf(System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.Remove(System.Object)
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Count
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Items
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.Item[System.Int32]
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.Generic.ICollection<Syncfusion.Olap.Data.Member>.IsReadOnly
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.ICollection.IsSynchronized
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.ICollection.SyncRoot
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.Item[System.Int32]
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.IsReadOnly
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.System.Collections.IList.IsFixedSize
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Olap.Data
    Assembly: Syncfusion.Olap.Base.dll
    Syntax
    public class MemberCollection : Collection<Member>, IList<Member>, ICollection<Member>, IList, ICollection, IReadOnlyList<Member>, IReadOnlyCollection<Member>, IEnumerable<Member>, IEnumerable
    Remarks

    Although the MemberCollection class externally represents a collection of member objects, the collection is internally loaded and managed in one of two ways, depending on the parent of the collection:

    * If the parent object was referenced as a result of a query, as in the case of a Tuple, then the collection represents the members referenced by that query.

    * If the parent object was referenced as a result of a request for meta-data, then the collection represents the members referenced by the definition of the parent object.

    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 object.

    Methods

    AddRange(MemberCollection)

    Adds the elements of the specified collection to the end of the System.Collections.Generic.List<T>.

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

    The collection of members.

    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

    The member object.

    FindByUniqueName(String)

    Finds the member by its unique name.

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

    The unique name of the member object.

    Returns
    Type Description
    Member

    The member object.

    InsertItem(Int32, Member)

    Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.

    Declaration
    protected override void InsertItem(int index, Member item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which item should be inserted.

    Member item

    The object to insert. The value can be null for reference types.

    Overrides
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.InsertItem(System.Int32, Syncfusion.Olap.Data.Member)

    SetItem(Int32, Member)

    Replaces the element at the specified index.

    Declaration
    protected override void SetItem(int index, Member item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the element to replace.

    Member item

    The new value for the element at the specified index. The value can be null for reference types.

    Overrides
    System.Collections.ObjectModel.Collection<Syncfusion.Olap.Data.Member>.SetItem(System.Int32, Syncfusion.Olap.Data.Member)
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.Average<TSource>(IEnumerable<TSource>, Func<TSource, Int16>)
    EnumerableExtensions.Average<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int16>>)
    EnumerableExtensions.Sum<TSource>(IEnumerable<TSource>, Func<TSource, Int16>)
    EnumerableExtensions.Sum<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int16>>)
    EnumerableExtensions.Max<TSource>(IEnumerable<TSource>, Func<TSource, Int16>)
    EnumerableExtensions.Max<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int16>>)
    EnumerableExtensions.Min<TSource>(IEnumerable<TSource>, Func<TSource, Int16>)
    EnumerableExtensions.Min<TSource>(IEnumerable<TSource>, Func<TSource, Nullable<Int16>>)
    EnumerableExtensions.OrderBy<T>(IEnumerable<T>, String, Func<String, Object, Object>)
    EnumerableExtensions.OrderByDescending<T>(IEnumerable<T>, String, Func<String, Object, Object>)
    EnumerableExtensions.OrderBy<T>(IEnumerable<T>, String, Func<String, Object, Object>, IComparer<Object>)
    EnumerableExtensions.OrderByDescending<T>(IEnumerable<T>, String, Func<String, Object, Object>, IComparer<Object>)
    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.IterateIndex<T>(IEnumerable<T>, Action<Int32, T>)
    FunctionalExtensions.IterateIndex<T>(IEnumerable<T>, Action<Int32, T>, Int32)
    FunctionalExtensions.Zip<TFirst, TSecond, TResult>(IEnumerable<TFirst>, IEnumerable<TSecond>, Func<TFirst, TSecond, TResult>)
    FunctionalExtensions.Fold<T, U>(IEnumerable<U>, Func<T, U, T>, T)
    FunctionalExtensions.FoldLeft<T, U>(IEnumerable<U>, Func<T, U, T>, T)
    FunctionalExtensions.FoldRight<T, U>(IEnumerable<U>, Func<T, U, T>, T)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    FunctionalExtensions.ToObservableCollection<T>(IEnumerable<T>)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, List<SortDescriptor>, IEnumerable<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, String[], IEnumerable<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, List<String>, Func<TElement, Object>[])
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, List<SortDescriptor>, Func<TElement, Object>[])
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, Func<TElement, Object>[])
    QueryableExtensions.GroupByMany<TElement>(IEnumerable<TElement>, IEnumerable<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, Int32, Func<TElement, Object>[])
    PivotExtension.GroupByMany<TElement>(IEnumerable<TElement>, IEnumerable<Func<TElement, Object>>)
    ChartExtensionUtils.DistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved