Partager via


BindAttribute.Prefix Property

Gets or sets the prefix to use when markup is rendered for binding to an action argument or to a model property.

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

Syntax

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

Property Value

Type: System.String
The prefix to use.

See Also

Reference

BindAttribute Class

System.Web.Mvc Namespace