PeachBrackets

PeachBrackets.Building.DocumentNode

DocumentNode.GetAttribute(string) Method

Returns the value of an attribute of the element, or null if it has none by that name.

public string? GetAttribute(string name);

Parameters

name System.String

the attribute name

Returns

System.String
the attribute’s value, or null