[IronPython] Intefaces

Jason Pardy jpardy at esri.com
Thu Nov 29 01:02:02 CET 2007


Has there been any work on documenting the calling of explicitly
implemented interfaces and
getting/setting properties through interfaces? If so, is there a
location where I can get this information?
 
Much Thanks,

Jason
 
2006/10/19, Jason Pardy <jpardy at esri.com
<http://lists.ironpython.com/listinfo.cgi/users-ironpython.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20071128/36c35322/attachment.html>


More information about the Ironpython-users mailing list