File: NDoc.Core.ReferencePathCollection.Item.html

package info (click to toggle)
ndoc 1.3.1-4
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,936 kB
  • ctags: 3,748
  • sloc: cs: 27,159; sh: 219; xml: 47; makefile: 45
file content (60 lines) | stat: -rw-r--r-- 5,410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<html dir="LTR">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
    </meta>
    <meta name="generator" content="NDoc 1.3" />
    <title>Item Property </title>
    <link rel="stylesheet" type="text/css" href="ndoc.css">
    </link>
    <script src="ndoc.js" type="text/javascript">
    </script>
  </head>
  <body id="bodyID" class="dtBODY">
    <INPUT class="userDataStyle" id="userDataCache" type="hidden" />
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead" nowrap="true">NDoc 1.3.1 SDK</td>
            <td class="product" nowrap="true">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">ReferencePathCollection.Item Property </h1>
      </div>
    </div>
    <div id="nstext">
      <p> Gets or sets the <a href="NDoc.Core.ReferencePath.html">ReferencePath</a> at the specified index. </p>
      <P>
        <SPAN class="lang">[C#]</SPAN> In C#, this property is the indexer for the <B>ReferencePathCollection</B> class.</P>
<PRE class="syntax"><SPAN class="lang">[Visual Basic]
</SPAN><b>PublicDefaultPropertyItem(_
ByVal<i>index</i>As<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">Integer</a>_
)As<a href="NDoc.Core.ReferencePath.html">ReferencePath</a>
</b><SPAN class="lang">[C#]
</SPAN><b>public<a href="NDoc.Core.ReferencePath.html">ReferencePath</a>this[
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">int</a><i>index</i>
]{get;set;}
</b><SPAN class="lang">[C++]
</SPAN><b>public:__property<a href="NDoc.Core.ReferencePath.html">ReferencePath*</a>get_Item(
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">int</a><i>index</i>
);
public:__property<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVoidClassTopic.asp">void</a>set_Item(
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemInt32ClassTopic.asp">int</a><i>index</i>,
<a href="NDoc.Core.ReferencePath.html">ReferencePath*</a>newValue
);
</b><SPAN class="lang">[JScript]
</SPAN><I>returnValue</I><B> = </B><I>ReferencePathCollectionObject</I><B>.Item( </B><i>index</i><B> );</B>
<I>ReferencePathCollectionObject</I><B>.Item( </B><i>index</i><B> ) = newValue;</B>
<B>-or-</B>
<I>returnValue</I><B> = </B><I>ReferencePathCollectionObject</I><B>( </B><i>index</i><B> );</B>
<I>ReferencePathCollectionObject</I><B>( </B><i>index</i><B> ) = newValue;</B></PRE><P><SPAN class="lang">[JScript]</SPAN> 
			In JScript, you can use the default indexed properties defined by a type, 
			but you cannot explicitly define your own. However, specifying the <B>expando</B> 
			attribute on a class automatically provides a default indexed property whose 
			type is <B>Object</B> and whose index type is <B>String</B>.</P><h4 class="dtH4">Parameters</h4><dl><dt><i>index</i></dt><dd>The zero-based index of the <a href="NDoc.Core.ReferencePath.html">ReferencePath</a> to get or set.</dd></dl><h4 class="dtH4">Property Value</h4><p>The <a href="NDoc.Core.ReferencePath.html">ReferencePath</a> at the specified index</p><h4 class="dtH4">Exceptions</h4><div class="tablediv"><table class="dtTABLE" cellspacing="0"><tr valign="top"><th width="50%">Exception Type</th><th width="50%">Condition</th></tr><tr valign="top"><td width="50%"><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemArgumentOutOfRangeExceptionClassTopic.asp">ArgumentOutOfRangeException</a></td><td width="50%"><i>index</i> is not a valid index in the collection.</td></tr><tr valign="top"><td width="50%"><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemArgumentNullExceptionClassTopic.asp">ArgumentNullException</a></td><td width="50%">set <i>value</i> is a a null reference
				  (<b>Nothing</b> in Visual Basic).</td></tr></table></div><h4 class="dtH4">See Also</h4><p><a href="NDoc.Core.ReferencePathCollection.html">ReferencePathCollection Class</a> | <a href="NDoc.Core.html">NDoc.Core Namespace</a></p><object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"><param name="Keyword" value="Item property"></param><param name="Keyword" value="Item property, ReferencePathCollection class"></param><param name="Keyword" value="ReferencePathCollection.Item property"></param></object><DIV CLASS="footer"><p><center><font color="red"><i></i></font></center></p></DIV><hr /><div id="footer"><p><a href="mailto:ndoc-helpfeedback@lists.sourceforge.net?subject=NDoc%201.3.1%20SDK%20Documentation%20Feedback:%20ReferencePathCollection.Item%20Property&#xD;&#xA;						">Send comments on this topic.</a></p><p>NDoc development is hosted by <a href="http://sourceforge.net/" target="_parent"><img alt="SourceForge" src="http://sourceforge.net/sflogo.php?group_id=36057&amp;amp;type=5" align="absMiddle" border="0"></a></p><p>Generated from assembly NDoc.Core [1.3.1851.0]</p></div></div>
  </body>
</html>