ProjectSave Method (Boolean, FuncString, String, DialogResult, ActionString, String, EncodingType, String) |
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.1.0.0 (5.1.0)
Syntax public bool Save(
bool keepMarkedAsChanged,
Func<string, string, DialogResult> warningDisplayFunc,
Action<string, string> errorDisplayFunc,
EncodingType encodingToUse,
string destinationFileName
)
Public Function Save (
keepMarkedAsChanged As Boolean,
warningDisplayFunc As Func(Of String, String, DialogResult),
errorDisplayFunc As Action(Of String, String),
encodingToUse As EncodingType,
destinationFileName As String
) As Boolean
Parameters
- keepMarkedAsChanged
- Type: SystemBoolean
if set to true [keep marked as changed]. - warningDisplayFunc
- Type: SystemFuncString, String, DialogResult
The warning display func which is used to display a warning message and to receive input to proceed or abort. - errorDisplayFunc
- Type: SystemActionString, String
The error display func to display an error. Errors always abort the save process - encodingToUse
- Type: SD.LLBLGen.Pro.CoreEncodingType
The encoding to use. - destinationFileName
- Type: SystemString
The destination file name to write to.
Return Value
Type:
Boolean
true if save succeeded, false if save was aborted
See Also