'Declaration Public Overloads Sub ApplyPresetFromXml( _ ByVal fileName As String, _ ByVal clearAllSettings As Boolean _ )
public void ApplyPresetFromXml( string fileName, bool clearAllSettings )
Private Sub SetupGrid() If myPresetIsXML Then Me.ultraGrid1.ApplyPresetFromXml("myPreset.xml") Else Me.ultraGrid1.ApplyPresetFromBinary("myPreset.bin", False) End If End Sub
private void SetupGrid() { if( myPresetIsXML ) { this.ultraGrid1.ApplyPresetFromXml( "myPreset.xml" ); } else { this.ultraGrid1.ApplyPresetFromBinary( "myPreset.bin", false ); } }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2