Namespace: Cartella.Models
Assembly: CartellaDomainModels (in CartellaDomainModels.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public static RegexRoute MapRegexRoute(
	this RouteCollection collection,
	string name,
	string urlPattern,
	Object defaults,
	Func<RequestContext, RouteValueDictionary, string> virtualPathRetriever
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function MapRegexRoute ( _
	collection As RouteCollection, _
	name As String, _
	urlPattern As String, _
	defaults As Object, _
	virtualPathRetriever As Func(Of RequestContext, RouteValueDictionary, String) _
) As RegexRoute
Visual C++
[ExtensionAttribute]
public:
static RegexRoute^ MapRegexRoute(
	RouteCollection^ collection, 
	String^ name, 
	String^ urlPattern, 
	Object^ defaults, 
	Func<RequestContext^, RouteValueDictionary^, String^>^ virtualPathRetriever
)

Parameters

collection
Type: System.Web.Routing..::..RouteCollection
name
Type: System..::..String
urlPattern
Type: System..::..String
defaults
Type: System..::..Object
virtualPathRetriever
Type: System..::..Func<(Of <(<'RequestContext, RouteValueDictionary, String>)>)>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RouteCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also