次の方法で共有


HtmlHelper.IdAttributeDotReplacement Property

Gets or sets the character that replaces periods in the ID attribute of an element.

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

Syntax

'Declaration
Public Shared Property IdAttributeDotReplacement As String
    Get
    Set
public static string IdAttributeDotReplacement { get; set; }
public:
static property String^ IdAttributeDotReplacement {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The character that replaces periods in the ID attribute of an element.

Remarks

The default replacement character is an underscore (_).

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace