Table of Contents

Method RemoveAttr

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RemoveAttr(XmlNode, string)

Removes attribute if it exists.

public static bool RemoveAttr(XmlNode node, string name)

Parameters

node XmlNode

Xml node.

name string

Attribute name.

Returns

bool

true if attribute was found and removed, false otherwise.