Partager via


TemplateInfo.GetFullHtmlFieldName Method

Retrieves the fully qualified name (including a prefix) for a field using the specified HTML name attribute.

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

Syntax

'Declaration
Public Function GetFullHtmlFieldName ( _
    partialFieldName As String _
) As String
public string GetFullHtmlFieldName(
    string partialFieldName
)
public:
String^ GetFullHtmlFieldName(
    String^ partialFieldName
)

Parameters

  • partialFieldName
    Type: System.String
    The value of the HTML name attribute.

Return Value

Type: System.String
The prefixed name of the field.

See Also

Reference

TemplateInfo Class

System.Web.Mvc Namespace