SetValue(string, object)

Sets the value of an attribute identified by its name.

Declaration Syntax

public void SetValue(string name, object value)

Parameters

name(string)

The name of the attribute.

value(object)

The value of the attrbiute.