%%ItemTitle%%

VLF .NET Snap-in Components

VLF .NET Snap-in Components - Developer's Guide
How to update an instance list entry?
Send comments on this topic.

Glossary Item Box

Any update to the list should be done between avBeginUpdate and avEndUpdate commands. If an update is performed without first invoking avBeginUpdate, and exception will be thrown.

The code fragment below appends the word ‘Deleted’ to the the visual ID of the current entry in the list.

Update Instance List Entry C# Copy Code
this.avListManager.avBeginListUpdate();
 
VLF.ListEntry entry = this.avListManager.avGetCurrentInstance();
entry.avVisualID1 = entry.avVisualID1 + " " + "(Deleted)";
 
this.avListManager.avEndListUpdate();

 

© LANSA