Project.Save Method (Boolean, Func<String, String, DialogResult>, Action<String, String>, EncodingType) |
Saves this project to Xml, to the file stored inside this project's properties.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.3.0.0 (5.3.0)
Syntax public bool Save(
bool keepMarkedAsChanged,
Func<string, string, DialogResult> warningDisplayFunc,
Action<string, string> errorDisplayFunc,
EncodingType encodingToUse
)
Public Function Save (
keepMarkedAsChanged As Boolean,
warningDisplayFunc As Func(Of String, String, DialogResult),
errorDisplayFunc As Action(Of String, String),
encodingToUse As EncodingType
) As Boolean
Parameters
- keepMarkedAsChanged
- Type: System.Boolean
if set to true [keep marked as changed]. - warningDisplayFunc
- Type: System.Func<String, String, DialogResult>
The warning display func which is used to display a warning message and to receive input to proceed or abort. - errorDisplayFunc
- Type: System.Action<String, String>
The error display func to display an error. Errors always abort the save process - encodingToUse
- Type: SD.LLBLGen.Pro.Core.EncodingType
The encoding to use.
Return Value
Type:
Boolean
true if save succeeded, false if save was aborted
See Also