C
Cc
hi ,
how do I get menber of a structure on runtime?
for eample
Structure Person
<VBFixedString(10)> Public ID As String
<VBFixedString(15)> Public Name As String
End Structure
private sub calling()
dim pp as person
test(pp)
end sub
public function test(byref arg_struct as system.valuetype)
' in here I would like to get the menber and value
end function
'---------------------------------------------------------------------------
--
Note
Please don't suggest that I just declare as person on test function
parameter
rgds
cc
how do I get menber of a structure on runtime?
for eample
Structure Person
<VBFixedString(10)> Public ID As String
<VBFixedString(15)> Public Name As String
End Structure
private sub calling()
dim pp as person
test(pp)
end sub
public function test(byref arg_struct as system.valuetype)
' in here I would like to get the menber and value
end function
'---------------------------------------------------------------------------
--
Note
Please don't suggest that I just declare as person on test function
parameter
rgds
cc