This document is archived and information here might be outdated.  Recommended version.


IGraphicsContainer.MoveElementToGroup Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IGraphicsContainer.MoveElementToGroup Method

Move the element from the container to the group.

[Visual Basic .NET]
Public Sub MoveElementToGroup ( _
    ByVal Element As IElement, _
    ByVal group As IGroupElement _
)
[C#]
public void MoveElementToGroup (
    IElement Element,
    IGroupElement group
);
[C++]
HRESULT MoveElementToGroup(
  IElement* Element,
  IGroupElement* group
);
[C++]

Parameters Element [in]
Element is a parameter of type IElement group [in]
group is a parameter of type IGroupElement

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicsContainer Interface