LumiSoft Mail Server User API
RouteCollection Class
Namespaces > LumiSoft.MailServer.API.UserAPI > RouteCollection
The RouteCollection object represents route groups in LumiSoft Mail Server virtual server.
Syntax
C#Visual BasicManaged C++
public class RouteCollection : IEnumerable
Public Class RouteCollection _
	Implements IEnumerable
public ref class RouteCollection : IEnumerable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
Add(String, String, Boolean, RouteActionBase)
Creates and adds new route to route collection.
Contains(String)
Check if collection contains route with specified ID.
ContainsPattern(String)
Check if collection contains route with route pattern.
Count
Gets number of routes in virtual server.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()
Gets enumerator.
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetRouteByPattern(String)
Gets a Route object in the collection by route pattern.
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
Item(Int32)
Gets a Route object in the collection by index number.
Item(String)
Gets a Route object in the collection by group ID.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Refresh()
Refreshes routes.
Remove(Route)
Deletes and removes specified route from route collection.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
VirtualServer
Gets the VirtualServer object that is the owner of this collection.
Inheritance Hierarchy
Object
RouteCollection

Assembly: UserAPI Version: 1.0.0.0 (Module: UserAPI)