Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object, protocol As String, host As String) As String Parameters Static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values, System::String ^ protocol, System::String ^ host) public static string Action (this helper, string action, string controller, object values, string protocol, string host) public static string? Action (this helper, string? action, string? controller, object? values, string? protocol, string? host) static member Action : * string * string * obj * string * string -> string See the remarks section for important security information. Public Function Action (helper As IUrlHelper, action As String, controller As String, values As Object, protocol As String) As String Parameters Static System::String ^ Action(Microsoft::AspNetCore::Mvc::IUrlHelper ^ helper, System::String ^ action, System::String ^ controller, System::Object ^ values, System::String ^ protocol) public static string Action (this helper, string action, string controller, object values, string protocol) public static string? Action (this helper, string? action, string? controller, object? values, string? protocol) static member Action : * string * string * obj * string -> string Protocol to use, host name, and fragment. See the remarks section for important security information.Īction(IUrlHelper, String, String, Object, String, String, String) Generates an absolute URL if the protocol and host are See the remarks section for important security information.Īction(IUrlHelper, String, String, Object, String, String)Īction name, controller name, route values, Generates a URL with a path for an action method, which contains the specifiedĪction(IUrlHelper, String, String, Object)Īction name, controller name, and route values.Īction(IUrlHelper, String, String, Object, String)Īction name, controller name, route values, and Generates a URL with a path for an action method. In this article Overloads Action(IUrlHelper) Microsoft makes no warranties, express or implied, with respect to the information provided here. Some information relates to prerelease product that may be substantially modified before it’s released.