# C1.C1Preview.NamedCollectionItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_NamedCollectionItem" data-uid="C1.C1Preview.NamedCollectionItem" class="text-break">NamedCollectionItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents an element of a <a class="xref" href="C1.C1Preview.NamedCollection.html">NamedCollection</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">NamedCollectionItem</span></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.DataBinding.Aggregate.html">Aggregate</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.DataBinding.DataSetField.html">DataSetField</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.DataBinding.Field.html">Field</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.DataBinding.QueryParameter.html">QueryParameter</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.DictionaryItem.html">DictionaryItem</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.TagBase.html">TagBase</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.TagListInputParamsItem.html">TagListInputParamsItem</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_NamedCollectionItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public abstract class NamedCollectionItem : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public MustInherit Class NamedCollectionItem
    Implements ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem__ctor" data-uid="C1.C1Preview.NamedCollectionItem.#ctor">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.-ctor.html#C1_C1Preview_NamedCollectionItem__ctor">NamedCollectionItem()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_Name" data-uid="C1.C1Preview.NamedCollectionItem.Name">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.Name.html#C1_C1Preview_NamedCollectionItem_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the unique name of the current object.
If an item with the specified name already exists in the collection,
an exception is thrown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_Owner" data-uid="C1.C1Preview.NamedCollectionItem.Owner">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.Owner.html#C1_C1Preview_NamedCollectionItem_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.NamedCollection.html">NamedCollection</a> containing the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_AssignFrom_C1_C1Preview_NamedCollectionItem_" data-uid="C1.C1Preview.NamedCollectionItem.AssignFrom(C1.C1Preview.NamedCollectionItem)">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.AssignFrom.html#C1_C1Preview_NamedCollectionItem_AssignFrom_C1_C1Preview_NamedCollectionItem_">AssignFrom(NamedCollectionItem)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_Clone" data-uid="C1.C1Preview.NamedCollectionItem.Clone">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.Clone.html#C1_C1Preview_NamedCollectionItem_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the current <a class="xref" href="C1.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a> object.
Note that the <a class="xref" href="C1.C1Preview.NamedCollectionItem.Owner.html#C1_C1Preview_NamedCollectionItem_Owner">Owner</a> property is not copied to the new object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_SetName_System_String_" data-uid="C1.C1Preview.NamedCollectionItem.SetName(System.String)">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.SetName.html#C1_C1Preview_NamedCollectionItem_SetName_System_String_">SetName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the name of the current item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_NamedCollectionItem_SetNameInt_System_String_" data-uid="C1.C1Preview.NamedCollectionItem.SetNameInt(System.String)">
          <a class="xref" href="C1.C1Preview.NamedCollectionItem.SetNameInt.html#C1_C1Preview_NamedCollectionItem_SetNameInt_System_String_">SetNameInt(string)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
