IApplicationModel.New Method
Re-initializes the application with a new ConfigurationSourceModel.
Namespace: Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services
Assembly: Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)
Syntax
'Declaration
Function New As Boolean
bool New()
bool New()
function New() : boolean
Return Value
truetrue (True in Visual Basic) if Re-initializing the application completed successfully, otherwise falsefalse (False in Visual Basic). E.g. The user cancelled saving the current ConfigurationSourceModel.
Remarks
Closes the current ConfigurationSourceModel and any open Configuration Environments prior to re-initializing the application.
If the current ConfigurationSourceModel or any Configuration Environments contain changes it will attempt to save these changes.
See Also
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.Services Namespace