IOUtilitiesFileSetEnd Method |
Sets the size for the specified file.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool FileSetEnd(
string path,
long size,
bool throwOnError = true
)
Parameters
- path
- Type: SystemString
The file path. - size
- Type: SystemInt64
The file size. - throwOnError (Optional)
- Type: SystemBoolean
if set to true errors may be throw in case of errors.
Return Value
Type:
Booleantrue if the operation succeeded,
false otherwise.
Exceptions See Also