VegaRise.NET
HomeAPI Reference
Back to Element

ReplaceMethod

Definition

Namespace
DOM.Abstracts
Assembly
DOM.dll

Replaces this element with at the same position in the parent's children collection. newChild

Replace(IElement newChild)

Parameters

newChild
The element that will replace this element.

Exceptions

  • System.NullReferenceException: Thrown when this element has no parent.