共用方式為


DynamicDataRoute.GetVirtualPath(RequestContext, RouteValueDictionary) 方法

定義

傳回路徑 (Route) 的虛擬路徑 (Path)。

public:
 override System::Web::Routing::VirtualPathData ^ GetVirtualPath(System::Web::Routing::RequestContext ^ requestContext, System::Web::Routing::RouteValueDictionary ^ values);
public override System.Web.Routing.VirtualPathData GetVirtualPath (System.Web.Routing.RequestContext requestContext, System.Web.Routing.RouteValueDictionary values);
override this.GetVirtualPath : System.Web.Routing.RequestContext * System.Web.Routing.RouteValueDictionary -> System.Web.Routing.VirtualPathData
Public Overrides Function GetVirtualPath (requestContext As RequestContext, values As RouteValueDictionary) As VirtualPathData

參數

requestContext
RequestContext

包含 Web 要求的相關資訊。

values
RouteValueDictionary

目前應用程式的路徑物件集合。

傳回

虛擬路徑。

適用於