The DetachAllChildren method detaches all the children of the NBElement being operated on from the logical element tree.

C# | Visual Basic | Visual C++ | F# |
public Collection<NBElement> DetachAllChildren()
Public Function DetachAllChildren As Collection(Of NBElement)
public: Collection<NBElement^>^ DetachAllChildren()
member DetachAllChildren : unit -> Collection<NBElement>

All detached elements.