AdvantageAttributes..::..SetExtension Method
Set or replace an extension element by local name. Pass null as the element
to remove the extension. The wrapper collapses to null when no extensions
remain, so the on-disk XML stays clean.
Namespace:
AdvantageCMS.Core.Common.BaseClassesAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public void SetExtension( string localName, XmlElement element )
Parameters
- localName
- Type: String
Element local name. Identifies the extension regardless of XML namespace.
- element
- Type: XmlElement
The element to store, or null to remove.

