# C1.Win.C1Editor.Internal.HTML.IOleObject.InitFromData

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Editor_Internal_HTML_IOleObject_InitFromData_" data-uid="C1.Win.C1Editor.Internal.HTML.IOleObject.InitFromData*">InitFromData Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Editor_Internal_HTML_IOleObject_InitFromData_" data-uid="C1.Win.C1Editor.Internal.HTML.IOleObject.InitFromData*"></a>
<h4 id="C1_Win_C1Editor_Internal_HTML_IOleObject_InitFromData_System_Runtime_InteropServices_ComTypes_IDataObject_System_Boolean_System_UInt32_" data-uid="C1.Win.C1Editor.Internal.HTML.IOleObject.InitFromData(System.Runtime.InteropServices.ComTypes.IDataObject,System.Boolean,System.UInt32)">InitFromData(IDataObject, bool, uint)</h4>
<div class="markdown level1 summary"><p>This member is for internal use only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">int InitFromData(IDataObject pDataObject, bool fCreation, uint dwReserved)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function InitFromData(pDataObject As IDataObject, fCreation As Boolean, dwReserved As UInteger) 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.runtime.interopservices.comtypes.idataobject">IDataObject</a></td>
      <td><span class="parametername">pDataObject</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fCreation</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">dwReserved</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.int32">int</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
