J
John A Grandy
i have a class with a great number of private properties ...
the class contains various functions that accept as a parameter the name of
one of the private properties. the functions perform various operations on
the current value of the property ...
in the function's internal code, i'd like to obtain the value of the
relevant property without doing a lengthy
Select pParameterName
Case "MyParam1"
ParameterValue = mMyParam1
etc.
does .NET provide a mechanism to convert a string giving the name of an
object into the object itself?
the class contains various functions that accept as a parameter the name of
one of the private properties. the functions perform various operations on
the current value of the property ...
in the function's internal code, i'd like to obtain the value of the
relevant property without doing a lengthy
Select pParameterName
Case "MyParam1"
ParameterValue = mMyParam1
etc.
does .NET provide a mechanism to convert a string giving the name of an
object into the object itself?