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 _
)
[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