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

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

IGroupElement3.ReplaceElement Method

Replace an existing element in the group.

[Visual Basic .NET]
Public Sub ReplaceElement ( _
    ByVal existingElement As IElement, _
    ByVal newElement As IElement _
public void ReplaceElement (
    IElement existingElement,
    IElement newElement
HRESULT ReplaceElement(
  IElement* existingElement,
  IElement* newElement
existingElement [in]

existingElement is a parameter of type IElement* newElement [in]
newElement is a parameter of type IElement*

Product Availability

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

See Also

IGroupElement3 Interface