menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IScheduleResourceList - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IScheduleResourceList

    Defines the collection of schedule resources.

    Inherited Members
    System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.ICollection.Count
    System.Collections.ICollection.IsSynchronized
    System.Collections.ICollection.SyncRoot
    System.Collections.IEnumerable.GetEnumerator()
    System.Collections.IList.Add(System.Object)
    System.Collections.IList.Clear()
    System.Collections.IList.Contains(System.Object)
    System.Collections.IList.IndexOf(System.Object)
    System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.IList.IsFixedSize
    System.Collections.IList.IsReadOnly
    System.Collections.IList.Remove(System.Object)
    System.Collections.IList.RemoveAt(System.Int32)
    Namespace: Syncfusion.Schedule
    Assembly: Syncfusion.Schedule.Base.dll
    Syntax
    public interface IScheduleResourceList : IList, ICollection, IEnumerable

    Properties

    Item[Int32]

    Indexer that returns a IScheduleResource.

    Declaration
    IScheduleResource this[int i] { get; }
    Parameters
    Type Name Description
    System.Int32 i

    Get the ScheduleResource based on index

    Property Value
    Type
    IScheduleResource

    Methods

    Add(IScheduleResource)

    Appends the IScheduleResource to the end of the IScheduleResourceCollection.

    Declaration
    int Add(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to add to the IScheduleResourceCollection.

    Returns
    Type Description
    System.Int32

    Index at which the item is added.

    Contains(IScheduleResource)

    Determines whether the collection contains the specified resource.

    Declaration
    bool Contains(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    A IScheduleResource to search for in the collection.

    Returns
    Type Description
    System.Boolean

    true if the collection contains the specified item; otherwise, false.

    Find(Int32)

    Finds resource by UniqueID.

    Declaration
    IScheduleResource Find(int nOwnerID)
    Parameters
    Type Name Description
    System.Int32 nOwnerID

    resource UniqueID

    Returns
    Type Description
    IScheduleResource

    A IScheduleResource

    IndexOf(IScheduleResource)

    Determines the index value that represents the position of the IScheduleResource in the ScheduleResourceCollection.

    Declaration
    int IndexOf(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to locate in the IScheduleResourceCollection.

    Returns
    Type Description
    System.Int32

    The index position of the specified IScheduleResource in the collection.

    Insert(Int32, IScheduleResource)

    Inserts a IScheduleResource in the IScheduleResourceCollection at the specified index location.

    Declaration
    void Insert(int nIdx, IScheduleResource resource)
    Parameters
    Type Name Description
    System.Int32 nIdx

    The location in the collection to insert the ScheduleResource.

    IScheduleResource resource

    A IScheduleResource to add to the collection.

    NewScheduleResource()

    Gets an instance of a new schedule resource.

    Declaration
    IScheduleResource NewScheduleResource()
    Returns
    Type Description
    IScheduleResource

    A new schedule resource that can be added to this list.

    Remove(IScheduleResource)

    Removes the specified ScheduleResource from the ScheduleResourceCollection.

    Declaration
    void Remove(IScheduleResource resource)
    Parameters
    Type Name Description
    IScheduleResource resource

    The IScheduleResource to remove from the collection.

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<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[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved