Partager via


HttpRouteCollection.Clear Method

Removes all items from the collection.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable Sub Clear
'Usage
Dim instance As HttpRouteCollection

instance.Clear()
public virtual void Clear()
public:
virtual void Clear()
abstract Clear : unit -> unit 
override Clear : unit -> unit 
public function Clear()

Implements

ICollection<T>.Clear()

See Also

Reference

HttpRouteCollection Class

System.Web.Http Namespace