2006/10/19, Jason Pardy <[EMAIL PROTECTED]>:
> 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)
IGeoProc
Thanks Dino.
I got this to work where GetMessages is a method call.
result = gp.Execute(..)
IGeoProcessorResult.GetMessages(result, 0)
However, when I try to retrieve the value from a read only
property, I get an error.
Is this supposed to work?
IGeoProcessorResult.ReturnV
At the risk of appearing flippant, I'd like to suggest that the following
should be considered an error in need of correction. <0.5wink>
IronPython 1.0 (1.0.61005.1977) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import this
Traceback (most recent call last
What do you mean by Uninitialized? Are you getting back None?
What you should get back is an instance of the class that
implements the interface. If the class is implementing the interface
explicitly (so the method is actually declared w/o public in C# and w/ the
interface name) then
All,
I have a case where my namespace contains many interfaces
and classes. One of my classes contains a method that returns a pointer to an
interface:
>>> gp.Execute.__doc__
'IGeoProcessorResult Execute(self, str Name, IVariantArray ipValues,
ITrackCance
l pTrackCancel)'
>>>