ButtonBuilder.SubmitImage Method (String, String, IDictionary<String, Object>)
Creates a submit button for your form using an image.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static TagBuilder SubmitImage(
string name,
string sourceUrl,
IDictionary<string, object> htmlAttributes
)
public:
static TagBuilder^ SubmitImage(
String^ name,
String^ sourceUrl,
IDictionary<String^, Object^>^ htmlAttributes
)
static member SubmitImage :
name:string *
sourceUrl:string *
htmlAttributes:IDictionary<string, Object> -> TagBuilder
Public Shared Function SubmitImage (
name As String,
sourceUrl As String,
htmlAttributes As IDictionary(Of String, Object)
) As TagBuilder
Parameters
name
Type: System.StringThe name of the button.
sourceUrl
Type: System.StringThe source of the URL.
htmlAttributes
Type: System.Collections.Generic.IDictionary<String, Object>Dictionary of HTML settings.
Return Value
Type: System.Web.Mvc.TagBuilder
A TagBuilder that represents the button.
See Also
ButtonBuilder Class
Microsoft.Web.Mvc Namespace
Return to top