Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptsIO.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 SftOptsIO 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 (please see the SftOptionsIO.OptionValue property for complete information).

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.OptionValue property is identical to the SftOptionsIO.OptionValue property.

Example

Dim CheckBoxValue As String
SftOptsIO1.Registry = "USR:Software\Softelvdm\TestData\FirstSample"
CheckBoxValue = SftOptsIO1.OptionValue("Cb1")

See Also SftOptsIO Object | Object Hierarchy


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