Click or drag to resize
MimeKit

DomainList Class

A domain list.
Inheritance Hierarchy
SystemObject
  MimeKitDomainList

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.14.0
Syntax
C#
public class DomainList : IList<string>, 
	ICollection<string>, IEnumerable<string>, IEnumerable

The DomainList type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of domains in the DomainList.
Public propertyIsReadOnly
Get a value indicating whether the DomainList is read only.
Public propertyItem
Gets or sets the domain at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Add the specified domain.
Public methodClear
Clears the domain list.
Public methodContains
Checks if the DomainList contains the specified domain.
Public methodCopyTo
Copies all of the domains in the DomainList to the specified array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator for the list of domains.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of the requested domain, if it exists.
Public methodInsert
Insert the domain at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified domain.
Public methodRemoveAt
Removes the domain at the specified index.
Public methodToString
Returns a string representation of the list of domains.
(Overrides ObjectToString.)
Public methodStatic memberTryParse
Try to parse a list of domains.
Top
Remarks
Represents a list of domains, such as those that an email was routed through.
See Also