# GrapeCity.Documents.Word.OnLoadInvalidUriHandler

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_OnLoadInvalidUriHandler" data-uid="GrapeCity.Documents.Word.OnLoadInvalidUriHandler" class="text-break">OnLoadInvalidUriHandler Delegate
</h1>
  <div class="markdown level0 summary"><p>Represents a delegate that is called when a malformed URI is about to load.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_OnLoadInvalidUriHandler_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Obsolete(&quot;This API has no effect and will be removed in a future version.&quot;)]
public delegate Uri OnLoadInvalidUriHandler(Uri partUri, string id, string uri)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Obsolete(&quot;This API has no effect and will be removed in a future version.&quot;)&gt;
Public Delegate Function OnLoadInvalidUriHandler(partUri As Uri, id As String, uri As String) As Uri</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><span class="xref">Uri</span></td>
        <td><span class="parametername">partUri</span></td>
        <td><p>The URI of the part with an invalid relationship.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
        <td><span class="parametername">id</span></td>
        <td><p>The id of the relationship.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
        <td><span class="parametername">uri</span></td>
        <td><p>The malformed URI address.</p>
</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><span class="xref">Uri</span></td>
        <td><p>A valid URI created from the malformed address string.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
