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


IProcessLayer.RefreshLayers Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IProcessLayer.RefreshLayers Method

Refresh layers.

[Visual Basic .NET]
Public Sub RefreshLayers ( _
    ByVal pActiveView As IActiveView, _
    ByVal bConnect As Boolean, _
    ByRef pContentsChanged As Boolean _
)
[C#]
public void RefreshLayers (
    IActiveView pActiveView,
    bool bConnect,
    ref bool pContentsChanged
);
[C++]
HRESULT RefreshLayers(
  IActiveView* pActiveView,
  VARIANT_BOOL bConnect,
  VARIANT_BOOL* pContentsChanged
);
[C++]

Parameters pActiveView
pActiveView is a parameter of type IActiveView bConnect bConnect is a parameter of type VARIANT_BOOL pContentsChanged pContentsChanged is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IProcessLayer Interface