Property Symbol Table Class

Name

Get the Name Property for some Symbol Table definition.

Signature (Visual Basic / VBA)

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

Code Examples

    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    leaves
       stTemp.Name(1) = "SubName"
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    for example
       stTemp.Name(1) = "FunctionName"
    leaves
       stTemp.Name(1) = "FunctionName"
Public Property Let Name( _
      ByVal vElement As Long _
    , ByVal vName As Variant _
    )

Parameters

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

Notes & Version History

vName The new String or numeric Name for the Symbol Table definition.