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


IGroupElement3.ReplaceElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IGroupElement3.ReplaceElement Method

Replace an existing element in the group.

[Visual Basic .NET]
Public Sub ReplaceElement ( _
    ByVal existingElement As IElement, _
    ByVal newElement As IElement _
)
[C#]
public void ReplaceElement (
    IElement existingElement,
    IElement newElement
);
[C++]
HRESULT ReplaceElement(
  IElement* existingElement,
  IElement* newElement
);
[C++]

Parameters 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