# GrapeCity.Documents.Word.ContentMark.Delete

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ContentMark_Delete_" data-uid="GrapeCity.Documents.Word.ContentMark.Delete*">Delete Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ContentMark_Delete_" data-uid="GrapeCity.Documents.Word.ContentMark.Delete*"></a>
<h4 id="GrapeCity_Documents_Word_ContentMark_Delete" data-uid="GrapeCity.Documents.Word.ContentMark.Delete">Delete()</h4>
<div class="markdown level1 summary"><p>Overridden. This method always throws an exception, because a <a class="xref" href="GrapeCity.Documents.Word.ContentMark.html">ContentMark</a>
cannot be deleted - it is deleted automatically with its owner.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void Delete()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub Delete()</code></pre>
</div>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Documents.Word.ContentObject.Delete.html#GrapeCity_Documents_Word_ContentObject_Delete">ContentObject.Delete()</a></div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.notsupportedexception">NotSupportedException</a></td>
      <td><p>Raises at every attempt to execute this method.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
