| AbstractFilePreTweakerWillFileBeTweaked Method |
This method can optionally be overridden to let the framework know whether the tweaking operation will actually
modify the file. This helps the framework know whether a backup of the file should be created and
can allow read-only files to be processed without error if no tweaking is required. By default, this
returns true.
Namespace: Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApiAssembly: Sdl.FileTypeSupport.Framework.Core.Utilities (in Sdl.FileTypeSupport.Framework.Core.Utilities.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntaxprotected virtual bool WillFileBeTweaked(
string filePath
)
Protected Overridable Function WillFileBeTweaked (
filePath As String
) As Boolean
protected:
virtual bool WillFileBeTweaked(
String^ filePath
)
abstract WillFileBeTweaked :
filePath : string -> bool
override WillFileBeTweaked :
filePath : string -> bool Parameters
- filePath
- Type: SystemString
The full path to the file that is passed to the method
Return Value
Type:
BooleanA boolean parameter indicating whether or not the particular implementation of the File Tweaker
will make any modifications to the file. By default the method just returns true.
See Also
Comments