C# Class LumiSoft.Net.Mime.MimeEntityCollection

Mime entity collection.
Inheritance: IEnumerable
Mostrar archivo Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
Add ( ) : MimeEntity

Creates a new mime entity to the end of the collection.

Add ( MimeEntity entity ) : void

Adds specified mime entity to the end of the collection.

Clear ( ) : void

Clears the collection of all mome entities.

Contains ( MimeEntity entity ) : bool

Gets if collection contains specified mime entity.

GetEnumerator ( ) : IEnumerator

Gets enumerator.

Insert ( int index, MimeEntity entity ) : void

Inserts a new mime entity into the collection at the specified location.

Remove ( MimeEntity entity ) : void

Removes specified mime entity from the collection.

Remove ( int index ) : void

Removes mime entity at the specified index from the collection.

this ( int index ) : MimeEntity

Gets mime entity at specified index.

Private Methods

Method Description
MimeEntityCollection ( MimeEntity ownerEntity ) : System

Default constructor.

Method Details

Add() public method

Creates a new mime entity to the end of the collection.
public Add ( ) : MimeEntity
return MimeEntity

Add() public method

Adds specified mime entity to the end of the collection.
public Add ( MimeEntity entity ) : void
entity MimeEntity Mime entity to add to the collection.
return void

Clear() public method

Clears the collection of all mome entities.
public Clear ( ) : void
return void

Contains() public method

Gets if collection contains specified mime entity.
public Contains ( MimeEntity entity ) : bool
entity MimeEntity Mime entity.
return bool

GetEnumerator() public method

Gets enumerator.
public GetEnumerator ( ) : IEnumerator
return IEnumerator

Insert() public method

Inserts a new mime entity into the collection at the specified location.
public Insert ( int index, MimeEntity entity ) : void
index int The location in the collection where you want to add the mime entity.
entity MimeEntity Mime entity.
return void

Remove() public method

Removes specified mime entity from the collection.
public Remove ( MimeEntity entity ) : void
entity MimeEntity Mime entity to remove.
return void

Remove() public method

Removes mime entity at the specified index from the collection.
public Remove ( int index ) : void
index int Index of mime entity to remove.
return void

this() public method

Gets mime entity at specified index.
public this ( int index ) : MimeEntity
index int
return MimeEntity