# C1.C1Preview.Scripting.ScriptingOptions.Initialize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_Scripting_ScriptingOptions_Initialize_" data-uid="C1.C1Preview.Scripting.ScriptingOptions.Initialize*">Initialize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_Scripting_ScriptingOptions_Initialize_" data-uid="C1.C1Preview.Scripting.ScriptingOptions.Initialize*"></a>
<h4 id="C1_C1Preview_Scripting_ScriptingOptions_Initialize_System_String___System_String___" data-uid="C1.C1Preview.Scripting.ScriptingOptions.Initialize(System.String[],System.String[])">Initialize(string[], string[])</h4>
<div class="markdown level1 summary"><p>Initializes the current <a class="xref" href="C1.C1Preview.Scripting.ScriptingOptions.html">ScriptingOptions</a> object witih the specified
external assemblies and namespaces.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Initialize(string[] externalAssemblies, string[] namespaces)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Initialize(externalAssemblies As String(), namespaces 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">externalAssemblies</span></td>
      <td><p>An array of assembly names that are added to <a class="xref" href="C1.C1Preview.Scripting.ScriptingOptions.ExternalAssemblies.html#C1_C1Preview_Scripting_ScriptingOptions_ExternalAssemblies">ExternalAssemblies</a> on the current object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">namespaces</span></td>
      <td><p>An array of namespace names that are added to <a class="xref" href="C1.C1Preview.Scripting.ScriptingOptions.Namespaces.html#C1_C1Preview_Scripting_ScriptingOptions_Namespaces">Namespaces</a> on the current object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
