public Task SetFieldOrderAsync( List<string> fieldNames )
Public Function SetFieldOrderAsync( _ ByVal fieldNames As List(Of String) _ ) As Task
Parameters
- fieldNames
public Task SetFieldOrderAsync( List<string> fieldNames )
Public Function SetFieldOrderAsync( _ ByVal fieldNames As List(Of String) _ ) As Task
var tv = TableView.Active; if (tv == null) return; if (tv.CanResetFieldOrder) { tv.ResetFieldOrder(); var fldOrder = new List<string>(); fldOrder.Add("STATE_NAME"); fldOrder.Add("STATE_FIPS"); await tv.SetFieldOrderAsync(fldOrder); }
Target Platforms: Windows 11, Windows 10