Share via


MvcControl.IAttributeAccessor.SetAttribute Method (String, String)

 

Sets the value of the specified attribute.

Namespace:   Microsoft.Web.Mvc.Controls
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

void IAttributeAccessor.SetAttribute(
    string key,
    string value
)
private:
virtual void SetAttribute(
    String^ key,
    String^ value
) sealed = IAttributeAccessor::SetAttribute
private abstract SetAttribute : 
        key:string *
        value:string -> unit
private override SetAttribute : 
        key:string *
        value:string -> unit
Private Sub SetAttribute (
    key As String,
    value As String
)
    Implements IAttributeAccessor.SetAttribute

Parameters

Implements

IAttributeAccessor.SetAttribute(String, String)

See Also

MvcControl Class
Microsoft.Web.Mvc.Controls Namespace

Return to top