GetAttribute

Element.GetAttribute method

Gets an attribute value by name.

public string GetAttribute(string name)
ParameterTypeDescription
nameStringThe attribute name.

Return Value

The attribute value.

See Also