RemoveResourceFile: Difference between revisions
Jump to navigation
Jump to search
m (Needs example) |
m (→Returns) |
||
Line 14: | Line 14: | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if file was deleted, otherwise ''false''. | Returns ''true'' if file was deleted, otherwise ''false'' if the resource is in use or the file doesn't exist. | ||
==Example== | ==Example== |
Revision as of 21:55, 27 April 2012
This function removes a file from the resource.
Syntax
bool removeResourceFile ( resource theResource, string fileName )
Required Arguments
- theResource: The resource element.
- fileName: The filename what you wan't to delete.
Returns
Returns true if file was deleted, otherwise false if the resource is in use or the file doesn't exist.
Example
Click to collapse [-]
Server-- Add example