Share via


MvcControl.GetAttribute Method (String)

 

Retrieves the attribute of the control.

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

Syntax

protected virtual string GetAttribute(
    string key
)
protected:
virtual String^ GetAttribute(
    String^ key
)
abstract GetAttribute : 
        key:string -> string
override GetAttribute : 
        key:string -> string
Protected Overridable Function GetAttribute (
    key As String
) As String

Parameters

Return Value

Type: System.String

The retrieved attribute.

See Also

MvcControl Class
Microsoft.Web.Mvc.Controls Namespace

Return to top