GemBox.Email
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ReminderCollection Class

    Namespace:
    GemBox.Email.Calendar
    Assembly:
    GemBox.Email.dll

    Represents a collection of Reminder elements.

    • C#
    • VB.NET
    public sealed class ReminderCollection : IList<Reminder>, ICollection<Reminder>, IEnumerable<Reminder>, IEnumerable
    Public NotInheritable Class ReminderCollection
        Implements IList(Of Reminder), ICollection(Of Reminder), IEnumerable(Of Reminder), IEnumerable
    Inheritance:
    System.Object
    ReminderCollection
    Implements
    System.Collections.Generic.IList<Reminder>
    System.Collections.Generic.ICollection<Reminder>
    System.Collections.Generic.IEnumerable<Reminder>
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of elements contained in the ReminderCollection.

    • C#
    • VB.NET
    public int Count { get; }
    Public ReadOnly Property Count As Integer
    Property Value
    System.Int32

    The number of elements contained in the ReminderCollection.

    IsReadOnly

    Gets a value indicating whether the ReminderCollection is read-only.

    • C#
    • VB.NET
    public bool IsReadOnly { get; }
    Public ReadOnly Property IsReadOnly As Boolean
    Property Value
    System.Boolean

    true if the ReminderCollection is read-only; otherwise, false.

    Item[Int32]

    Gets or sets the element at the specified index.

    • C#
    • VB.NET
    public Reminder this[int index] { get; set; }
    Public Property Item(index As Integer) As Reminder
    Parameters
    index
    System.Int32

    The zero-based index of the element to get or set.

    Property Value
    Reminder

    The element at the specified index.

    Methods

    Add(Reminder)

    Adds an element to the end of the ReminderCollection.

    • C#
    • VB.NET
    public void Add(Reminder item)
    Public Sub Add(item As Reminder)
    Parameters
    item
    Reminder

    The element to be added to the end of the ReminderCollection.

    Clear()

    Removes all elements from the ReminderCollection.

    • C#
    • VB.NET
    public void Clear()
    Public Sub Clear

    Contains(Reminder)

    Determines whether an element is in the ReminderCollection. Returns true even if item has changed and is not synchronized with this ReminderCollection.

    • C#
    • VB.NET
    public bool Contains(Reminder item)
    Public Function Contains(item As Reminder) As Boolean
    Parameters
    item
    Reminder

    The element to locate in the ReminderCollection.

    Returns
    System.Boolean

    true if item is found in the ReminderCollection; otherwise, false.

    CopyTo(Reminder[], Int32)

    Copies the entire ReminderCollection to a compatible one-dimensional array, starting at the specified index of the target array.

    • C#
    • VB.NET
    public void CopyTo(Reminder[] array, int arrayIndex)
    Public Sub CopyTo(array As Reminder(), arrayIndex As Integer)
    Parameters
    array
    Reminder[]

    The one-dimensional array that is the destination of the elements copied from ReminderCollection.

    arrayIndex
    System.Int32

    The zero-based index in array at which copying begins.

    GetEnumerator()

    Returns an enumerator that iterates through the ReminderCollection.

    • C#
    • VB.NET
    public IEnumerator<Reminder> GetEnumerator()
    Public Function GetEnumerator As IEnumerator(Of Reminder)
    Returns
    System.Collections.Generic.IEnumerator<Reminder>

    An enumerator for the ReminderCollection.

    IndexOf(Reminder)

    Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReminderCollection.

    • C#
    • VB.NET
    public int IndexOf(Reminder item)
    Public Function IndexOf(item As Reminder) As Integer
    Parameters
    item
    Reminder

    The element to locate in the ReminderCollection.

    Returns
    System.Int32

    The zero-based index of the first occurrence of item within the entire ReminderCollection, if found; otherwise, -1.

    Insert(Int32, Reminder)

    Inserts an element into the ReminderCollection at the specified index.

    • C#
    • VB.NET
    public void Insert(int index, Reminder item)
    Public Sub Insert(index As Integer, item As Reminder)
    Parameters
    index
    System.Int32

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

    item
    Reminder

    The element to insert.

    Remove(Reminder)

    Removes the first occurrence of a specific element from the ReminderCollection.

    • C#
    • VB.NET
    public bool Remove(Reminder item)
    Public Function Remove(item As Reminder) As Boolean
    Parameters
    item
    Reminder

    The element to remove from the ReminderCollection.

    Returns
    System.Boolean

    true if element is successfully removed; otherwise, false. This method also returns false if item was not found in the ReminderCollection.

    RemoveAt(Int32)

    Removes the element at the specified index of the ReminderCollection.

    • C#
    • VB.NET
    public void RemoveAt(int index)
    Public Sub RemoveAt(index As Integer)
    Parameters
    index
    System.Int32

    The zero-based index of the element to remove.

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.