WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MIMEPartsCollection - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MIMEPartsCollection

    Parts collection

    Inheritance
    System.Object
    System.Collections.CollectionBase
    MIMEPartsCollection
    Implements
    System.Collections.IList
    IMIMEPartsCollection
    System.Collections.ICollection
    System.Collections.IEnumerable
    IMIMESerialization
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    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.MIME.Base.Implementation.Collections
    Assembly: Syncfusion.MIME.Base.dll
    Syntax
    public class MIMEPartsCollection : CollectionBase, IList, IMIMEPartsCollection, ICollection, IEnumerable, IMIMESerialization

    Constructors

    MIMEPartsCollection()

    Declaration
    public MIMEPartsCollection()

    Properties

    Item[Int32]

    Calling part by index.

    Declaration
    public IMIMEPart this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    IMIMEPart

    Item[String]

    Getting part by boundary.

    Declaration
    public IMIMEPart this[string boundary] { get; }
    Parameters
    Type Name Description
    System.String boundary
    Property Value
    Type Description
    IMIMEPart

    Methods

    Add(IMIMEPart)

    Adding part to collection.

    Declaration
    public void Add(IMIMEPart value)
    Parameters
    Type Name Description
    IMIMEPart value

    part to add.

    ClearAll()

    Clearing parts collection

    Declaration
    public void ClearAll()

    Contains(IMIMEPart)

    Method to check if part is present in collection.

    Declaration
    public bool Contains(IMIMEPart part)
    Parameters
    Type Name Description
    IMIMEPart part

    part to check.

    Returns
    Type Description
    System.Boolean

    True if present, False if not.

    Insert(Int32, IMIMEPart)

    Method to insert object to collection.

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

    at wnat index to insert.

    IMIMEPart value

    object to insert.

    OnClearComplete()

    Declaration
    protected override void OnClearComplete()
    Overrides
    System.Collections.CollectionBase.OnClearComplete()

    OnInsertComplete(Int32, Object)

    Declaration
    protected override void OnInsertComplete(int index, object data)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object data
    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    OnRemoveComplete(Int32, Object)

    Declaration
    protected override void OnRemoveComplete(int index, object data)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object data
    Overrides
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)

    Remove(IMIMEPart)

    Removing specified part from collection.

    Declaration
    public void Remove(IMIMEPart value)
    Parameters
    Type Name Description
    IMIMEPart value

    attribute to remove.

    Save(Stream)

    Save MIME document to stream.

    Declaration
    public void Save(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    Stream to write to.

    Implements

    System.Collections.IList
    IMIMEPartsCollection
    System.Collections.ICollection
    System.Collections.IEnumerable
    IMIMESerialization

    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 - 2021 Syncfusion Inc. All Rights Reserved