<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Oh, now that I read the entire thread I see that that part was
known </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> We
haven’t actually gotten around to documenting this unfortunately.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
users-bounces@lists.ironpython.com [mailto:users-bounces@lists.ironpython.com] <b>On
Behalf Of </b>Dino Viehland<br>
<b>Sent:</b> Wednesday, November 28, 2007 4:08 PM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> Re: [IronPython] Intefaces<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
users-bounces@lists.ironpython.com [mailto:users-bounces@lists.ironpython.com] <b>On
Behalf Of </b>Jason Pardy<br>
<b>Sent:</b> Wednesday, November 28, 2007 4:02 PM<br>
<b>To:</b> users@lists.ironpython.com<br>
<b>Subject:</b> Re: [IronPython] Intefaces<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<pre>Has there been any work on documenting the calling of explicitly implemented interfaces and<o:p></o:p></pre><pre>getting/setting properties through interfaces? If so, is there a location where I can get this information?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Much Thanks,<br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Jason<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>2006/10/19, Jason Pardy <<a
href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">jpardy at esri.com</a>>:<o:p></o:p></pre><pre>><i> However, when I try to retrieve the value from a read only property, I get<o:p></o:p></i></pre><pre>><i> an error.<o:p></o:p></i></pre><pre>><i><o:p> </o:p></i></pre><pre>><i> Is this supposed to work?<o:p></o:p></i></pre><pre>><i><o:p> </o:p></i></pre><pre>><i> IGeoProcessorResult.ReturnValue(result)<o:p></o:p></i></pre><pre><o:p> </o:p></pre><pre><b>Yes, but the correct syntax is:<o:p></o:p></b></pre><pre><b><o:p> </o:p></b></pre><pre><b>IGeoProcessorResult.ReturnValue.GetValue(result)<o:p></o:p></b></pre><pre><b>IGeoProcessorResult.ReturnValue.SetValue(result, value)<o:p></o:p></b></pre><pre><b><o:p> </o:p></b></pre><pre><b>It kinda makes sense, if you think about it.<o:p></o:p></b></pre><pre><b><o:p> </o:p></b></pre><pre><b>All in all, calling explicitly implemented interfaces and<o:p></o:p></b></pre><pre><b>getting/setting properties through interfaces, could be better<o:p></o:p></b></pre><pre><b>documented.<o:p></o:p></b></pre></div>
</body>
</html>