[IronPython] Intefaces

Sanghyeon Seo sanxiyn at gmail.com
Thu Oct 19 06:07:32 CEST 2006


2006/10/19, Jason Pardy <jpardy at esri.com>:
> However, when I try to retrieve the value from a read only property, I get
> an error.
>
> Is this supposed to work?
>
> IGeoProcessorResult.ReturnValue(result)

Yes, but the correct syntax is:

IGeoProcessorResult.ReturnValue.GetValue(result)
IGeoProcessorResult.ReturnValue.SetValue(result, value)

It kinda makes sense, if you think about it.

All in all, calling explicitly implemented interfaces and
getting/setting properties through interfaces, could be better
documented.

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list