This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalystUI > ESRI.ArcGIS.NetworkAnalystUI > Interfaces > IN > INAWindow Interface > INAWindow.UpdateContent Method (ArcObjects .NET 10.4 SDK) |
Refresh the window contents.
[Visual Basic .NET] Public Sub UpdateContent ( _ ByVal Category As INAWindowCategory _ )
[C#] public void UpdateContent ( INAWindowCategory Category );
The method UpdateContent refreshes the specified category or the entire NAWindow.
UpdateContent should be used if the underlying NAClasses were updated without events being fired. For example, you should call UpdateContent after using an insert cursor to populate NALocationFeatures in the "Stops" NAClass. Calling this method will ensure that the NAWindow reflects the current state of the NAClasses.
If you pass in a null pointer for the category, the entire NAWindow will be updated.