|
|
|
|
|
SftOptionsIO.OptionValue Property |
Defines the currently saved property value.
Syntax
|
VB.NET |
Value = object.OptionValue(ByVal Name As String) As String |
||
|
VB |
Value = object.OptionValue(ByVal Name As String) As String |
||
|
C#.NET |
string Value = object.get_OptionValue(string Name); |
||
|
VC++ |
_bstr_t Value = object->OptionValue[_bstr_t Name];
|
||
|
C |
HRESULT object->get_OptionValue(BSTR Name, BSTR* Value); |
||
|
Delphi |
Value := object.OptionValue[Name : WideString] : WideString; |
||
|
VB.NET |
object.set_OptionValue(ByVal Name As String, ByVal Value As String) |
||
|
VB |
object.OptionValue(ByVal Name As String) = Value As String |
||
|
C#.NET |
void object.set_OptionValue(string Name, string Value); |
||
|
VC++ |
_bstr_t object->OptionValue[_bstr_t Name] = Value;
|
||
|
C |
HRESULT object->put_OptionValue(BSTR Name, BSTR Value); |
||
|
Delphi |
object.OptionValue[Name : WideString] := Value : WideString; |
||
object
A SftOptionsIO object.
Name
Defines the name (see SftOptionsEntry.Name) of the entry to be retrieved.
Value
Defines the currently saved property value.
Comments
The OptionValue property defines the currently saved property value.
The OptionValue property is used to retrieve (or set) an option value as it is currently saved in the location defined by the SftOptionsIO.File or SftOptionsIO.Registry property settings. The OptionValue property value is identical to the SftOptsIO control's SftOptsIO.OptionValue property.
Example
Dim CheckBoxValue As String
SftOptions1.IO.Registry = "USR:Software\Softelvdm\TestData\FirstSample"
CheckBoxValue = SftOptions1.IO.OptionValue("Cb1")
See Also SftOptionsIO Object | Object Hierarchy