Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub EnsureRowValid(ByVal row As UltraGridRow) If Not row.IsStillValid Then ' Throw an exception if the row is invalid. Throw New Exception("The row is invalid.") End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void EnsureRowValid( UltraGridRow row ) { if ( !row.IsStillValid ) { // Throw an exception if the row is invalid. throw new Exception( "The row is invalid." ); } }