RequestContext.RouteData Property
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.
Gets information about the requested route.
public:
property System::Web::Routing::RouteData ^ RouteData { System::Web::Routing::RouteData ^ get(); };
public:
virtual property System::Web::Routing::RouteData ^ RouteData { System::Web::Routing::RouteData ^ get(); void set(System::Web::Routing::RouteData ^ value); };
public System.Web.Routing.RouteData RouteData { get; }
public virtual System.Web.Routing.RouteData RouteData { get; set; }
member this.RouteData : System.Web.Routing.RouteData
member this.RouteData : System.Web.Routing.RouteData with get, set
Public ReadOnly Property RouteData As RouteData
Public Overridable Property RouteData As RouteData
Property Value
An object that contains information about the requested route.
Remarks
To set the RouteData property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.