This document is archived and information here might be outdated. Recommended version. |
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*
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.