RouteCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.