Partager via


TagBuilder.IdAttributeDotReplacement Property

Gets or sets the character that is used to replace the periods (dots) in the id attribute.

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

Syntax

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

Property Value

Type: System.String
The character that is used to replace periods (dots) in the id attribute.

Remarks

The default replacement character is an underscore (_).

See Also

Reference

TagBuilder Class

System.Web.Mvc Namespace