Supported XML Documentation Tags

This page lists the XML documentation elements that Kampose renders. Use Best Practices for authoring guidance rather than treating every supported element as required.

Standard XML Documentation Tags

The following standard XML documentation tags are fully supported:

TagTop-LevelDescriptionExample
<c>NoUsed for inline code snippets within documentation. It renders short code fragments inline with text.Use <c>int</c> for integer values
<code>NoRepresents a block of code formatted in a pre-formatted style, typically for multi-line code samples.<code>var x = new Example();</code>
<example>YesProvides an example demonstrating how a type or member is used in practice.<example>This shows basic usage...</example>
<exception>YesDocuments an exception that a method or property may throw.<exception cref="ArgumentNullException">...</exception>
<include>YesAllows external XML documentation to be included within the current documentation file.<include file="docs.xml" path="doc/member[@name='T:MyType']/*" />
<inheritdoc>YesInherits documentation from a base class or implemented interface.<inheritdoc cref="BaseClass.Method" />
<list>YesDefines a list within documentation, such as bullet points, numbered lists, or table to structure information.<list type="bullet">...</list>
<para>NoInserts a paragraph break within documentation.<para>This is a new paragraph.</para>
<param>YesDescribes a parameter of a constructor, method, or index property.<param name="value">The input value</param>
<paramref>NoRefers to a specific method parameter within documentation.When <paramref name="count"/> is negative...
<permission>YesDeclares required security permission for accessing a type or member.<permission cref="SecurityPermission">...</permission>
<remarks>YesProvides additional information or context about an element that may not fit within the summary.<remarks>This is used internally...</remarks>
<returns>YesDescribes the return value of a method or delegate.<returns>The calculated value</returns>
<see>NoCreates hyperlinks to related types, members, language-specific keywords, or external pages within the documentation.See <see cref="OtherClass"/> for details
<seealso>YesAdds a 'See Also' reference linking to related documentation or external resources.<seealso cref="RelatedMethod"/>
<summary>YesProvides a brief description summarizing the purpose of a type or member.<summary>Represents a configuration...</summary>
<typeparam>YesDescribes a generic type parameter used in methods or types.<typeparam name="T">The type of items</typeparam>
<typeparamref>NoReferences a generic type parameter within documentation.The <typeparamref name="T"/> parameter must be...
<value>YesSpecifies a detailed description of a property value.<value>The current connection state</value>

Extended XML Documentation Tags

Additionally, the following extended tags from Sandcastle are supported:

TagTop-LevelDescriptionExample
<event>YesDescribes an event that a method or property may raise.<event cref="MyEvent">Raised when...</event>
<note>NoCreates a note-like section within a topic to draw attention to some important information.<note type="warning" title="Important">Be careful to...</note>
<overloads>YesProvides common documentation for a set of overloaded members.<overloads>Common description for all overloads</overloads>
<threadsafety>YesSpecifies thread safety of a class or structure, detailing whether static and instance members are safe for concurrent use.<threadsafety static="true" instance="false"/>

See Also