Property Symbol Table Class

Value

Get the Value Property for some Symbol Table definition.

Signature (Visual Basic / VBA)

Public Property Get Value( _
    ByVal vElement As Long _
    ) As Variant

Code Examples

    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    leaves
       stTemp.Value(1) = 23
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    for example
       stTemp.Value(1) = 55
    leaves
       stTemp.Value(1) = 55
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    for example
       stTemp.Value(1) = 55
    leaves
       stTemp.Value(1) = 55
Public Property Let Value( _
      ByVal vElement As Long _
    , ByVal vValue As Variant _
    )
Public Property Set Value( _
      ByVal vElement As Long _
    , ByVal vValue As Variant _
    )

Parameters

Parameter Description
vElement Number of the Symbol Table definition whose Value will be returned. vElement must be between 1 and Count or this Property will return an Empty value.
vElement Number of the Symbol Table definition whose Value will be changed. vElement must be between 1 and Count or this Property assignment will silently do nothing.
vElement Number of the Symbol Table definition whose Value will be changed. vElement must be between 1 and Count or this Property assignment will silently do nothing.

Notes & Version History

v1.3 BugFix This Property Get Function has been fixed to support the retrieval of Object and DataObject type Values. Change the Value Property for some Symbol Table definition.
vValue The new Value for the Symbol Table definition. vValue can be any type of Variant value (vbString, numeric, vbDate, vbArray, etc.) except an Object or DataObject.
v1.3 BugFix The corresponding Property Set Subroutine supports the storage of Object and DataObject type Values. Change the Value Property for some Symbol Table definition.
vValue The new Object or DataObject Value for the Symbol Table definition.
v1.3 BugFix This new Property Set Subroutine has been added to support the storage of Object and DataObject type Values.