This documentation is archived and is not being maintained.

XmlNotation.CloneNode Method

Creates a duplicate of this node. Notation nodes cannot be cloned. Calling this method on an XmlNotation object throws an exception.

[Visual Basic]
Overrides Public Function CloneNode( _
   ByVal deep As Boolean _
) As XmlNode
[C#]
public override XmlNode CloneNode(
 bool deep
);
[C++]
public: XmlNode* CloneNode(
 bool deep
);
[JScript]
public override function CloneNode(
   deep : Boolean
) : XmlNode;

Parameters

deep
true to recursively clone the subtree under the specified node; false to clone only the node itself.

Exceptions

Exception Type Condition
InvalidOperationException Calling this method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

XmlNotation Class | XmlNotation Members | System.Xml Namespace

Show: