<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software Warlock &#187; cref</title>
	<atom:link href="http://softwareblog.morlok.net/tag/cref/feed/" rel="self" type="application/rss+xml" />
	<link>http://softwareblog.morlok.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Dec 2011 16:06:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>XML Comments</title>
		<link>http://softwareblog.morlok.net/2009/11/24/xml-comments/</link>
		<comments>http://softwareblog.morlok.net/2009/11/24/xml-comments/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 02:21:01 +0000</pubDate>
		<dc:creator>Warlock</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[cref]]></category>
		<category><![CDATA[see]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://softwareblog.morlok.net/?p=309</guid>
		<description><![CDATA[Today I was looking for a reference for the proper notation for the cref attribute of the &#60;see cref="..."&#62; C# XML comment tag, and after finding it, I thought I&#8217;d post it here for future reference. The cref (code reference) &#8230;<p class="read-more"><a href="http://softwareblog.morlok.net/2009/11/24/xml-comments/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Today I was looking for a reference for the proper notation for the <tt>cref</tt> attribute of the <tt>&lt;see cref="..."&gt;</tt> C# XML comment tag, and after finding it, I thought I&#8217;d post it here for future reference.</p>
<p>
The <tt>cref</tt> (<em>code reference</em>) tag is prefaced by a single character, then a colon, followed by the reference in question.  The character defines what is being referenced, as defined by the table below.</p>
<table>
<thead>
<tr>
<th>Character</td>
<th>Description</td>
</tr>
<tr>
</thead>
<tbody>
<td>N</td>
<td>Namespace</td>
</tr>
<tr>
<td>T</td>
<td>Type (class, interface, struct, enum, delegate)</td>
</tr>
<tr>
<td>F</td>
<td>Field (member variable, constant, etc)</td>
</tr>
<tr>
<td>P</td>
<td>Property (including indexers and indexed properties)</td>
</tr>
<tr>
<td>M</td>
<td>Method (including special methods like constructors &ndash; <tt>#ctor</tt> &ndash; operators, etc)</td>
</tr>
<tr>
<td>E</td>
<td>Event</td>
</tr>
<tr>
<td>!</td>
<td>Error string</td>
</tr>
</tbody>
</table>
<p>The full reference for the prefixes is available <a href="http://msdn.microsoft.com/en-us/library/fsbx0t7x.aspx">here</a>, with the full XML comment documentation available <a href="http://msdn.microsoft.com/en-us/library/b2s063f7.aspx">here</a>.  The Code Project also has an <a href="http://www.codeproject.com/KB/XML/csharpcodedocumentation.aspx">article on the topic</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://softwareblog.morlok.net/2009/11/24/xml-comments/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

