hmm If I wanted to simplicity of late bound calling against an object I'd
need reflect emit. The IDispatchEx or just late binding made it seamless to
the caller.

if the object is created dynamically and passed as Object how do you call
the properties (aka late binding)

is it not that simple anymore do i have to supply the plumbing myself.

Regards
Robert.


-----Original Message-----
From: Sievert, James A [mailto:[EMAIL PROTECTED]]
Sent: Friday, 3 May 2002 13:03
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Dynamic Objects.


> also if you implement the
> interface and add a few properties - pass the object to a
> function how do
> you call the new properties!

IExpando extends IReflect.  If you implement IExpando, you'll also implement
IReflect.  A target function can use the members of IReflect to find out
about, and invoke those new properties.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.


**********************************************************************"
This correspondence is for the named person's use only. It may
contain confidential or legally privileged information or both. "
No confidentiality or privilege is waived or lost by any "
mistransmission.  If you receive this correspondence in error, please
immediately delete it from your system and notify the sender.  You
must not disclose, copy or rely on any part of this correspondence
if you are not the intended recipient.

Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.

This email has been checked for viruses.
**********************************************************************************************

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to