Share via


ToolsOptionsBaseControl<TOptions>.SaveOrCompareCurrentValueOfControls Method

Save or compare control values.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Protected Function SaveOrCompareCurrentValueOfControls ( _
    save As Boolean _
) As Boolean
'Usage
Dim save As Boolean 
Dim returnValue As Boolean 

returnValue = Me.SaveOrCompareCurrentValueOfControls(save)
protected bool SaveOrCompareCurrentValueOfControls(
    bool save
)
protected:
bool SaveOrCompareCurrentValueOfControls(
    bool save
)
member SaveOrCompareCurrentValueOfControls : 
        save:bool -> bool
protected function SaveOrCompareCurrentValueOfControls(
    save : boolean
) : boolean

Parameters

  • save
    Type: System.Boolean
    A Boolean value that indicates whether to save the current value or to compare the current value to that previously saved.

Return Value

Type: System.Boolean
If the save parameter is True, always returns True. If the save parameter is False, returns True if there were no changes in any control values, otherwise False.

See Also

Reference

ToolsOptionsBaseControl<TOptions> Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace