Guys,

Does anyone know much about the IExpando interface?

I have a business object I've created and I'd like to add support for
methods / attributes at runtime so that scripting clients ( e.g. ASP /
VBScript / Java script ) can call the .NET object through a RCW and invoke
methods which are added at runtime.

Do I need to inherit my .NET class from IExpando and implement methods such
as AddMethod. Are these called by the scripting engine to resolve methods
which don't exist. e.g. assume a query class contains methods such as Save
however a method Resolve needs to be added at runtime so I can write code
such as

oQuery.Resolve.

Cheers

Matt

Re: Implementing / using the IExpando interface by Matt

Matt
Mon Aug 15 05:59:34 CDT 2005

Has anyone got any thoughts on this, or can you refer me to other resources
where I can get more information?

If know one knows on this news group who should I contact next?

Cheers

Matt
"Matt Adamson" <Adamson_Matthew@hotmail.com> wrote in message
news:Or4P6PynFHA.860@TK2MSFTNGP12.phx.gbl...
> Guys,
>
> Does anyone know much about the IExpando interface?
>
> I have a business object I've created and I'd like to add support for
> methods / attributes at runtime so that scripting clients ( e.g. ASP /
> VBScript / Java script ) can call the .NET object through a RCW and invoke
> methods which are added at runtime.
>
> Do I need to inherit my .NET class from IExpando and implement methods
> such as AddMethod. Are these called by the scripting engine to resolve
> methods which don't exist. e.g. assume a query class contains methods such
> as Save however a method Resolve needs to be added at runtime so I can
> write code such as
>
> oQuery.Resolve.
>
> Cheers
>
> Matt
>