ISettingsServiceWriteSettings Method |
Writes the settings to OS specific location.
Namespace:
Rhino.Runtime
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxbool WriteSettings(
bool isShuttingDown,
Stream stream,
string fileName,
Action<bool, bool> writing
)
Function WriteSettings (
isShuttingDown As Boolean,
stream As Stream,
fileName As String,
writing As Action(Of Boolean, Boolean)
) As Boolean
Parameters
- isShuttingDown
- Type: SystemBoolean
Will be true if Rhino is in the process of shutting down when writing the file
- stream
- Type: System.IOStream
Stream containing the XML document
- fileName
- Type: SystemString
Requested file name and location.
- writing
- Type: SystemActionBoolean, Boolean
Called twice, first time with a false argument meaning about to write the
final file, second time with a true meaning it is done writing.
Return Value
Type:
Boolean
Return
true, if settings was written,
false otherwise.
Version InformationRhino for Windows
Supported in: 6.8
See Also