APNSoft Controls [4.5.2.20] - API Reference
MenuElement.CloneToParent Method (String, 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 NewID As String, _
   ByVal ParentID As String _
) As MenuElement
[C#]
public MenuElement CloneToParent(
   string NewID,
   string ParentID
);

Parameters

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

Return Value

The cloned element.

See Also

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