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

IGraphicsContainer.MoveElementToGroup Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainer Interface > IGraphicsContainer.MoveElementToGroup Method
ArcGIS Developer Help

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 _
public void MoveElementToGroup (
    IElement Element,
    IGroupElement group
HRESULT MoveElementToGroup(
  IElement* Element,
  IGroupElement* group
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