Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptionsIO.OptionValue Property

Defines the currently saved property value.

Syntax

Get

VB.NETValue = object.OptionValue(ByVal Name As String) As String
VBValue = object.OptionValue(ByVal Name As String) As String
C#.NETstring Value = object.get_OptionValue(string Name);
VC++_bstr_t Value = object->OptionValue[_bstr_t Name];
_bstr_t Value = object->GetOptionValue(_bstr_t Name);
CHRESULT object->get_OptionValue(BSTR Name, BSTR* Value);

Put

VB.NETobject.set_OptionValue(ByVal Name As String, ByVal Value As String)
VBobject.OptionValue(ByVal Name As String) = Value As String
C#.NETvoid object.set_OptionValue(string Name, string Value);
VC++_bstr_t object->OptionValue[_bstr_t Name] = Value;
void object->PutOptionValue(_bstr_t Name, _bstr_t Value);
CHRESULT object->put_OptionValue(BSTR Name, BSTR Value);

object

A SftOptionsIO object.

Name

Defines the name (see Entry.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 IO.File or IO.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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.