GetValue(string, object)

Gets an attribute value by its name.

Declaration Syntax

public virtual object GetValue(string name, object defaultValue)

Parameters

name(string)

The name of the attribute.

defaultValue(object)

The default value