RouteValues.GetAttribute Method (String)
Retrieves the value of the specified attribute.
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
key
Type: System.StringThe key associated with the attribute.
Return Value
Type: System.String
The value of the specified attribute.
See Also
RouteValues Class
Microsoft.Web.Mvc.Controls Namespace
Return to top