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


IEngineNAWindow.UpdateContent Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNAWindow Interface > IEngineNAWindow.UpdateContent Method
ArcGIS Developer Help

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