Share via


ConfigurationSourceModel.IsValidForSave Method

Returns a value indicating the ConfigurationSourceModel is valid for saving.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Function IsValidForSave As Boolean
public bool IsValidForSave()
public:
bool IsValidForSave()
public function IsValidForSave() : boolean

Return Value

Returns truetrue (True in Visual Basic) when the sections and elements have no validation results that are IsError. Otherwise, returns falsefalse (False in Visual Basic).

See Also

ConfigurationSourceModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace