Programmatically retrieve function header information
<p>I have a function GetMainWindowAE, which contains the header information as shown below.</p>

<pre><code>    /// &lt;summary&gt;
    /// Gets the main window automation element.
    /// &lt;/summary&gt;
    /// &lt;returns&gt;&lt;/returns&gt;
    public static AutomationElement GetMainWindowAE()
    {
        //Return automation element using window handle of that process
        return AutomationElement.FromHandle(AppContext.ActiveApplication.Process.MainWindowHandle);
    }
</code></pre>

<p>How can I programmatically get the data which is in header with comments using .net?</p>
