APNSoft Controls [] - API Reference
MenuElement.CloneToParent Method (String)

Creates a duplicate of this element. Inserts the duplicated element to specified parent element. Child elements are not duplicated.

[Visual Basic]
Overloads Public Function CloneToParent( _
   ByVal ParentID As String _
) As MenuElement
public MenuElement CloneToParent(
   string ParentID


ID of the element that will be parent for cloned element.

Return Value

The cloned element.


Element ID is generated automatically.

See Also

MenuElement Class | APNSoft.WebControls Namespace | MenuElement.CloneToParent Overload List