跳到主要内容

DeleteAttribute

Deletes an attribute from the custom XML node. If the attribute exists, it will be removed.

Syntax

expression.DeleteAttribute(name);

expression - A variable that represents a ApiCustomXmlNode class.

Parameters

NameRequired/OptionalData typeDefaultDescription
nameRequiredstringThe name of the attribute to delete.

Returns

boolean