Is there an expected difference between the following?
Stepping seems to show that the first way
GetContextMenuC ontrolWindowsEx plorer
does exhibit the correct data in this sub
But not in the calling routine.
The second way seems to work OK
Public ReadOnly Property GetContextMenuC ontrolWindowsEx plorer() As
ContextMenuStri p
Get
Dim tmp As ContextMenuStri p = New ContextMenuStri p
..snip
GetContextMenuC ontrolWindowsEx plorer = tmp THIS
Return tmp
OR THIS
End Get
End Property
Stepping seems to show that the first way
GetContextMenuC ontrolWindowsEx plorer
does exhibit the correct data in this sub
But not in the calling routine.
The second way seems to work OK
Public ReadOnly Property GetContextMenuC ontrolWindowsEx plorer() As
ContextMenuStri p
Get
Dim tmp As ContextMenuStri p = New ContextMenuStri p
..snip
GetContextMenuC ontrolWindowsEx plorer = tmp THIS
Return tmp
OR THIS
End Get
End Property
Comment