ArcObjects Library Reference (GlobeCore)  

IGlobeDisplayLayers.Reparent Method

Re-parents the layer.

[Visual Basic .NET]
Public Sub Reparent ( _
    ByVal Layer As ILayer, _
    ByVal newParent As ICompositeLayer _
)
[C#]
public void Reparent (
    ILayer Layer,
    ICompositeLayer newParent
);
[C++]
HRESULT Reparent(
  ILayer* Layer,
  ICompositeLayer* newParent
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type ILayer

newParent [in]

  newParent is a parameter of type ICompositeLayer

Product Availability

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

See Also

IGlobeDisplayLayers Interface