RequestContext.RouteData Proprietà

Definizione

Ottiene informazioni sulla route richiesta.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

Valore della proprietà

RouteData

Oggetto che contiene le informazioni sulla route richiesta.An object that contains information about the requested route.

Commenti

Per impostare la RouteData proprietà, è necessario passare il valore come parametro quando si chiama il RequestContext(HttpContextBase, RouteData) costruttore.To set the RouteData property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

Si applica a