[Overview][Resource strings][Constants][Types][Classes][Index] |
Writes the contents of the object to a file
Source position: resource.pp line 274
public procedure TResources.WriteToFile( |
aFileName: string |
); overload; |
aFileName: string; |
aWriter: TAbstractResourceWriter |
); overload; |
aFileName |
|
The name of the file to write to |
aFileName |
|
The name of the file to write to |
aWriter |
|
The resource writer to use to write to the file |
This method writes the contents of the object to a file whose name is passed as parameter.
If a writer is specified, that writer is used. Otherwise, the first registered writer matching the file name extension is used.
If no writer is passed and no suitable writer is found, an EResourceWriterNotFoundException exception is raised.
|
Base abstract resource writer class |
|
|
Writes the contents of the object to a stream |