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


IEngineNAWindow.UpdateContent Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IEngineNAWindow.UpdateContent Method

Refresh the window contents.

[Visual Basic .NET]
Public Sub UpdateContent ( _
    ByVal Category As IEngineNAWindowCategory _
)
[C#]
public void UpdateContent (
    IEngineNAWindowCategory Category
);
[C++]
HRESULT UpdateContent(
  IEngineNAWindowCategory* Category
);
[C++]

Parameters Category [in]
Category is a parameter of type IEngineNAWindowCategory

Product Availability

Available with ArcGIS Engine.

Description

The UpdateContent method refreshes the specified category or the entire IEngineNetworkAnalystEnvironment::NAWindow.

UpdateContent should be used if the underlying INAContext::NAClasses were updated without events being fired. For example, you should call UpdateContent after using an insert cursor to populate a NALocationFeature object in the "Stops" NAClass. Calling this method will ensure that the IEngineNetworkAnalystEnvironment::NAWindow reflects the current state of the INAContext::NAClasses.

If you pass in a null pointer for the category, the entire IEngineNetworkAnalystEnvironment::NAWindow will be updated.

See Also

IEngineNAWindow Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmMain)

.NET Related Topics

How to set up an ArcGIS Network Analyst extension solve to work with the undo/redo stack