Hi,
Sorry I did not put it clearly. I have instatiated the Class 1 , it has let
us say method 1, Method2 . In my application I have xml file which has some
info and methodname like
event TagName="TextName"
type="System.Windows.Forms.KeyPressEventArgs"
valid="Class1.Ischar" .
I read this file run time and get method name ie valid --- class1.ischar to
a string . Now how to use this to invoke method presenlty I am doing like
this
Select case methodname
case "Class1.Ischar"
call Class1.Ischar
I want to avoid this case structure and directly call the method something
like
call <methodname> 'it contains Class1.Ischar
is this possible
thanks in advance
Sudhee
> HI
> I'm not quite sure if I understand you right
>
> but isn't InvokeMember the thing that should help?
Laura T. - 22 Mar 2006 16:27 GMT
Check out the documentation of Delegate class.
It has all you need.
Laura.
> Hi,
> Sorry I did not put it clearly. I have instatiated the Class 1 , it has
[quoted text clipped - 25 lines]
>>
>> but isn't InvokeMember the thing that should help?