共用方式為


ViewUserControl.Url Property

Gets the URL for the view.

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

Syntax

'Declaration
Public ReadOnly Property Url As UrlHelper
    Get
public UrlHelper Url { get; }
public:
property UrlHelper^ Url {
    UrlHelper^ get ();
}

Property Value

Type: System.Web.Mvc.UrlHelper
The URL for the view.

See Also

Reference

ViewUserControl Class

System.Web.Mvc Namespace