# C1.Design.DTE.Initialize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Design_DTE_Initialize_" data-uid="C1.Design.DTE.Initialize*">Initialize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Design_DTE_Initialize_" data-uid="C1.Design.DTE.Initialize*"></a>
<h4 id="C1_Design_DTE_Initialize_System_IServiceProvider_C1_Design_DTE__" data-uid="C1.Design.DTE.Initialize(System.IServiceProvider,C1.Design.DTE@)">Initialize(IServiceProvider, ref DTE)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool Initialize(IServiceProvider serviceProvider, ref DTE dte)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Initialize(serviceProvider As IServiceProvider, ByRef dte As DTE) As Boolean</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.iserviceprovider">IServiceProvider</a></td>
      <td><span class="parametername">serviceProvider</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Design.DTE.html">DTE</a></td>
      <td><span class="parametername">dte</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Design_DTE_Initialize_" data-uid="C1.Design.DTE.Initialize*"></a>
<h4 id="C1_Design_DTE_Initialize_System_ComponentModel_Design_ComponentDesigner_C1_Design_DTE__" data-uid="C1.Design.DTE.Initialize(System.ComponentModel.Design.ComponentDesigner,C1.Design.DTE@)">Initialize(ComponentDesigner, ref DTE)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool Initialize(ComponentDesigner componentDesigner, ref DTE dte)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function Initialize(componentDesigner As ComponentDesigner, ByRef dte As DTE) As Boolean</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.componentmodel.design.componentdesigner">ComponentDesigner</a></td>
      <td><span class="parametername">componentDesigner</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Design.DTE.html">DTE</a></td>
      <td><span class="parametername">dte</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
