RosettaCodeData/Task/Associative-array-Merging/VBA/associative-array-merging-3.vba

23 lines
429 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Option Explicit
Private mKey As String
Private mValue As Variant
Public Property Get Value() As Variant
Value = mValue
End Property
Public Property Let Value(iValue As Variant)
mValue = iValue
End Property
Public Property Get Key() As Variant
Key = mKey
End Property
Private Property Let Key(iKey As Variant)
mKey = iKey
End Property
Public Sub Add(K As String, V As Variant)
Value = V
Key = K
End Sub