Szerkesztés

Megosztás a következőn keresztül:


RouteCollection Constructors

Definition

Initializes a new instance of the RouteCollection class.

Overloads

RouteCollection()

Initializes a new instance of the RouteCollection class.

RouteCollection(VirtualPathProvider)

Initializes a new instance of the RouteCollection class by using the specified virtual path provider.

RouteCollection()

Initializes a new instance of the RouteCollection class.

public:
 RouteCollection();
public RouteCollection ();
Public Sub New ()

See also

Applies to

RouteCollection(VirtualPathProvider)

Initializes a new instance of the RouteCollection class by using the specified virtual path provider.

public:
 RouteCollection(System::Web::Hosting::VirtualPathProvider ^ virtualPathProvider);
public RouteCollection (System.Web.Hosting.VirtualPathProvider virtualPathProvider);
new System.Web.Routing.RouteCollection : System.Web.Hosting.VirtualPathProvider -> System.Web.Routing.RouteCollection
Public Sub New (virtualPathProvider As VirtualPathProvider)

Parameters

virtualPathProvider
VirtualPathProvider

A provider for retrieving resources from a virtual file system.

See also

Applies to