|
|
|
|
|
SftOptsIO.File Property |
Defines the file used to store property settings.
Syntax
|
VB.NET |
FileName = object.File As String |
||
|
VB |
FileName = object.File As String |
||
|
C#.NET |
string FileName = object.File; |
||
|
VC++ |
_bstr_t FileName = object->File;
|
||
|
C |
HRESULT object->get_File(BSTR* FileName); |
||
|
Delphi |
FileName := object.File : WideString; |
||
|
VB.NET |
object.File = FileName As String |
||
|
VB |
object.File = FileName As String |
||
|
C#.NET |
string object.File = FileName; |
||
|
VC++ |
_bstr_t object->File = FileName;
|
||
|
C |
HRESULT object->put_File(BSTR FileName); |
||
|
Delphi |
object.File := FileName : WideString; |
||
object
A SftOptsIO object.
FileName
Defines the file used to store property settings, a full path or a partial path with leading "-" character (see below).
Comments
The File property defines the file used to retrieve and store property settings.
The SftOptsIO control is used by an application to retrieve (or set) option values. The SftOptsIO control does not offer a user interface. The SftOptions control is used to provide a user interface to allow the end-user to modify option settings.
The SftOptsIO control offers simplified Registry and INI file I/O to retrieve or set option values.
The SftOptsIO.File property is identical to the SftOptionsIO.File property.
Example
Dim CheckBoxValue As String
SftOptsIO1.File = "-\SftOptionsTest\Sample1.ini"
CheckBoxValue = SftOptsIO1.OptionValue("Cb1")
See Also SftOptsIO Object | Object Hierarchy