C# Класс LumiSoft.Net.Mime.MimeEntityCollection

Mime entity collection.
Наследование: IEnumerable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
MimeEntityCollection ( MimeEntity ownerEntity ) : System

Default constructor.

Описание методов

Add() публичный Метод

Creates a new mime entity to the end of the collection.
public Add ( ) : MimeEntity
Результат MimeEntity

Add() публичный Метод

Adds specified mime entity to the end of the collection.
public Add ( MimeEntity entity ) : void
entity MimeEntity Mime entity to add to the collection.
Результат void

Clear() публичный Метод

Clears the collection of all mome entities.
public Clear ( ) : void
Результат void

Contains() публичный Метод

Gets if collection contains specified mime entity.
public Contains ( MimeEntity entity ) : bool
entity MimeEntity Mime entity.
Результат bool

GetEnumerator() публичный Метод

Gets enumerator.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

Insert() публичный Метод

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.
Результат void

Remove() публичный Метод

Removes specified mime entity from the collection.
public Remove ( MimeEntity entity ) : void
entity MimeEntity Mime entity to remove.
Результат void

Remove() публичный Метод

Removes mime entity at the specified index from the collection.
public Remove ( int index ) : void
index int Index of mime entity to remove.
Результат void

this() публичный Метод

Gets mime entity at specified index.
public this ( int index ) : MimeEntity
index int
Результат MimeEntity