ProjectSave Method (Boolean, EncodingType) |
Saves this project to Xml, to the file stored inside this project's properties.
Namespace: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public bool Save(
bool keepMarkedAsChanged,
EncodingType encodingToUse
)
Public Function Save (
keepMarkedAsChanged As Boolean,
encodingToUse As EncodingType
) As Boolean
Parameters
- keepMarkedAsChanged
- Type: SystemBoolean
if set to true keeps the project file marked as Changed, if changed.. - encodingToUse
- Type: SD.LLBLGen.Pro.CoreEncodingType
The encoding to use.
Return Value
Type:
Boolean
true if save succeeded, false if save was aborted
Remarks
uses MessageBox.Show for error/warning display. if you want to save this project in a non-interactive environment or console application
please use the Save overload which accepts Func/Action delegates to customize this behavior.
See Also