# C1.Report.IReportScriptContext

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_IReportScriptContext" data-uid="C1.Report.IReportScriptContext" class="text-break">IReportScriptContext Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a local context for script evaluation and execution.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_IReportScriptContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IReportScriptContext</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IReportScriptContext</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_IReportScriptContext_GetObjectByName_System_String_" data-uid="C1.Report.IReportScriptContext.GetObjectByName(System.String)">
          <a class="xref" href="C1.Report.IReportScriptContext.GetObjectByName.html#C1_Report_IReportScriptContext_GetObjectByName_System_String_">GetObjectByName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves an object by its name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_IReportScriptContext_IsNameDefined_System_String_" data-uid="C1.Report.IReportScriptContext.IsNameDefined(System.String)">
          <a class="xref" href="C1.Report.IReportScriptContext.IsNameDefined.html#C1_Report_IReportScriptContext_IsNameDefined_System_String_">IsNameDefined(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether the specified name exists in the current context.
If a certain name is defined by the context (i.e. this method returns true),
the named object will be retrieved from the context even if a similarly named object
already exists.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
