Oh, now that I read the entire thread I see that that part was known :) We haven't actually gotten around to documenting this unfortunately.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Wednesday, November 28, 2007 4:08 PM To: Discussion of IronPython Subject: Re: [IronPython] Intefaces I don't think there's any great documentation on this, but you can do interface.property.GetValue(instance) or interface.property.SetValue(instance, value). From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Pardy Sent: Wednesday, November 28, 2007 4:02 PM To: [email protected] Subject: Re: [IronPython] Intefaces 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.
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
