APNSoft Controls [4.5.2.20] - 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
[C#]
public MenuElement CloneToParent(
   string ParentID
);

Parameters

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

Return Value

The cloned element.

Remarks

Element ID is generated automatically.

See Also

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