<?xml version="1.0" encoding="utf-8" ?>
<members>
	<member name="Document">
		<remarks>
			<para>The Document class accepts as a <see cref="Filename" /> a ldproj,
			sln, csproj, vbproj, dll etc as the basis for a documentation set.</para>
		</remarks>
	</member>
	<member name="Document.GetDocumentationFor">
		<exception cref="InvalidOperationException">
			<para>Thrown when the Document is not in the requried state, see the message for more information.</para>
			<list>
				<listheader>
					<term>Message</term>
					<description>Reason</description>
				</listheader>
				<listitem>
					<term>The Format was not specified and is required to export the documentation.</term>
					<description>The <see cref="Format" /> property contained an empty string, specifiy a valid LDEC file.</description>
				</listitem>
				<listitem>
					<term>The Format specified could not be located.</term>
					<description>The <see cref="Format" /> specified could not be found on disk.</description>
				</listitem>
			</list>
		</exception>
		<example>
			<para>This method accepts cref paths to produce HTML streams for the specified member.</para>
			<code>
Document doc = new Document("document.ldproj", "web-msdn.ldec");
MemoryStream output = null;

output = doc.GetDocumentationFor("T:System.String"); // or
output = doc.GetDocumentationFor("T:System.Collections.Generic.Lists`1");
			</code>
		</example>
	</member>
</members>