LumiSoft Net Help
Insert Method (index, entity)
Namespaces ► LumiSoft.Net.MIME ► MIME_EntityCollection ► Insert(Int32, MIME_Entity)
Inserts a new MIME entity into the collection at the specified location.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void Insert(
    	int index,
    	MIME_Entity entity
    )

    Public Sub Insert (
    	index As Integer,
    	entity As MIME_Entity
    )

    public:
    void Insert(
    	int index,
    	MIME_Entity^ entity
    )

    member Insert :
            index : int *
            entity : MIME_Entity -> unit

Parameters

index (Int32)
  The location in the collection where you want to add the MIME entity.

entity (MIME_Entity)
  MIME entity.

Exceptions

Exception | Condition
--- | ---
IndexOutOfRangeException | Is raised when index is out of range.
ArgumentNullException | Is raised when entity is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119