Click or drag to resize
MimeKit

DomainList Class

A domain list.
Inheritance Hierarchy
SystemObject
  MimeKitDomainList

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

The DomainList type exposes the following members.

Constructors
 NameDescription
Public methodDomainList Initialize a new instance of the DomainList class.
Public methodDomainList(IEnumerableString) Initialize a new instance of the DomainList class.
Top
Properties
 NameDescription
Public propertyCount Get the number of domains in the DomainList.
Public propertyIsReadOnly Get a value indicating whether the DomainList is read only.
Public propertyItem Get or set the domain at the specified index.
Top
Methods
 NameDescription
Public methodAdd Add a domain.
Public methodClear Clear the domain list.
Public methodContains Check if the DomainList contains the specified domain.
Public methodCopyTo Copy all of the domains in the DomainList to an array.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Get an enumerator for the list of domains.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodIndexOf Get the index of the requested domain, if it exists.
Public methodInsert Insert a domain at the specified index.
Protected methodMemberwiseClone
(Inherited from Object)
Public methodRemove Remove a domain.
Public methodRemoveAt Remove the domain at the specified index.
Public methodToString Return 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