Microsoft SDK for Java

DhBaseContainer.replace

Replaces a child element with another.

Syntax

protected void replace( DhElement eCur, DhElement eNew )

Parameters

eCur

The element to replace.

eNew

The new element.

Exceptions

DhElementNotFoundException thrown if eCur is not a child of this container.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.