OpenTAP 9.25
API Reference
|
Identifies a string as a file path. More...
Public Types | |
enum | BehaviorChoice { Open , Save } |
Describes how the file should be used on access. More... | |
Public Member Functions | |
FilePathAttribute () | |
Constructor for the FilePathAttribute. More... | |
FilePathAttribute (BehaviorChoice behavior=BehaviorChoice.Open, string fileExtension="") | |
Constructor that takes BehaviourChoice and fileExtension parameters for the FilePathAttribute. More... | |
Properties | |
string | FileExtension [get] |
Default file extension for this file path. | |
bool | OverwritePrompt [get] |
Boolean setting. When true, raises a prompt for permission to overwrite the file if it already exists. If false, no prompt is raised and the file is overwritten. | |
BehaviorChoice | Behavior [get] |
The behavior of the file path dialog associated with this file path. | |
Identifies a string as a file path.
|
inline |
Constructor for the FilePathAttribute.
Provided for backward compatibility.
|
inline |
Constructor that takes BehaviourChoice and fileExtension parameters for the FilePathAttribute.
behavior | |
fileExtension | File extension or filter. Simple file extensions can be used like this: txt, csv, .... Or a filter extression can be used, for example "Text Document (*.txt) | *.txt. See examples for more info." |
OpenTAP 9.25 API built Tue Aug 6 2024 07:49:23