views:

204

answers:

2

In order to reference a member of a class in XML comments/documentation, you have to use the following tag:

<see cref="member"/>

It is better explained here.

How do you reference an indexer?

I mean, a member like this one:

internal object this[ int index ] {
    ...
}

Thanks in advance.

+8  A: 
<see cref="P:System.Collections.ArrayList.Item(System.Int32)" />
leppie
Could you elaborate a little bit? What's the meaning of P in front of all that stuff? Property?
Auron
P is for property, M for method, T for type, just look in "C:\Windows\Microsoft.NET\Framework\v2.0.50727\en\mscorlib.xml" for examples :)
leppie
Man, that's a pretty comprehensive example! ;) Thanks.
Auron
http://msdn.microsoft.com/en-us/library/fsbx0t7x.aspx also has a list.
ICR
+1  A: 
<see cref="this[int]" />
jyoung