# C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic*">ShowTopic Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic*"></a>
<h4 id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_System_String_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic(System.String)">ShowTopic(string)</h4>
<div class="markdown level1 summary"><p>Shows the topic with the given URL in the C1DynamicHelp control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowTopic(string topicUrl)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowTopic(topicUrl As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">topicUrl</span></td>
      <td><p>String that represents the topic's internal URL.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>topicUrl is null.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic*"></a>
<h4 id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_C1_Win_C1DynamicHelp_HelpTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic(C1.Win.C1DynamicHelp.HelpTopic)">ShowTopic(HelpTopic)</h4>
<div class="markdown level1 summary"><p>Shows the given <a class="xref" href="C1.Win.C1DynamicHelp.HelpTopic.html">HelpTopic</a> in the C1DynamicHelp control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowTopic(HelpTopic topic)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowTopic(topic As HelpTopic)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Win.C1DynamicHelp.HelpTopic.html">HelpTopic</a></td>
      <td><span class="parametername">topic</span></td>
      <td><p><a class="xref" href="C1.Win.C1DynamicHelp.HelpTopic.html">HelpTopic</a> object representing the topic.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>topic is null.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic*"></a>
<h4 id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_System_Int32_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic(System.Int32)">ShowTopic(int)</h4>
<div class="markdown level1 summary"><p>Shows the topic with the given context id in the C1DynamicHelp control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowTopic(int contextID)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowTopic(contextID As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">contextID</span></td>
      <td><p>Context id representing the topic.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>specified context id is unknown.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic*"></a>
<h4 id="C1_Win_C1DynamicHelp_C1DynamicHelp_ShowTopic_System_Object_" data-uid="C1.Win.C1DynamicHelp.C1DynamicHelp.ShowTopic(System.Object)">ShowTopic(object)</h4>
<div class="markdown level1 summary"><p>Shows the topic associated in the <a class="xref" href="C1.Win.C1DynamicHelp.C1DynamicHelp.TopicMap.html#C1_Win_C1DynamicHelp_C1DynamicHelp_TopicMap">TopicMap</a> with a UI element in the C1DynamicHelp control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ShowTopic(object uiElement)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ShowTopic(uiElement As Object)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">uiElement</span></td>
      <td><p>Object associated with the topic to display.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td><p>uiElement is null.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
