RoutePrefixAttribute Constructor

 

Initializes a new instance of the RoutePrefixAttribute class.

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

NameDescription
System_CAPS_protmethodRoutePrefixAttribute()

Initializes a new instance of the RoutePrefixAttribute class.

System_CAPS_pubmethodRoutePrefixAttribute(String^)

Initializes a new instance of the RoutePrefixAttribute class with the specified prefix.

Return to top

RoutePrefixAttribute Constructor ()

Initializes a new instance of the RoutePrefixAttribute class.

protected:
RoutePrefixAttribute()
Return to top

RoutePrefixAttribute Constructor (String^)

Initializes a new instance of the RoutePrefixAttribute class with the specified prefix.

public:
RoutePrefixAttribute(
	String^ prefix
)

Parameters

prefix
Type: System::String^

The route prefix for the controller.

Return to top
Show: