Aspose API References – ArtifactCollection https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/ Recent content in ArtifactCollection on Aspose API References Hugo -- gohugo.io zh Net: Count https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/count/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/count/ <h2 id="artifactcollectioncount-property">ArtifactCollection.Count property</h2> <p>获取集合中的工件计数。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="kt">int</span> <span class="n">Count</span> <span class="p">{</span> <span class="k">get</span><span class="p">;</span> <span class="p">}</span> </span></span></code></pre></div><h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: IsReadOnly https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/isreadonly/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/isreadonly/ <h2 id="artifactcollectionisreadonly-property">ArtifactCollection.IsReadOnly property</h2> <p>获取集合是否为只读。总是返回 false.</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="kt">bool</span> <span class="n">IsReadOnly</span> <span class="p">{</span> <span class="k">get</span><span class="p">;</span> <span class="p">}</span> </span></span></code></pre></div><h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: IsSynchronized https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/issynchronized/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/issynchronized/ <h2 id="artifactcollectionissynchronized-property">ArtifactCollection.IsSynchronized property</h2> <p>这个对象是否同步。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="kt">bool</span> <span class="n">IsSynchronized</span> <span class="p">{</span> <span class="k">get</span><span class="p">;</span> <span class="p">}</span> </span></span></code></pre></div><h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: Item https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/item/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/item/ <h2 id="artifactcollection-indexer">ArtifactCollection indexer</h2> <p>按索引获取工件。索引从 1. 开始</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="n">Artifact</span> <span class="k">this</span><span class="p">[</span><span class="kt">int</span> <span class="n">index</span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span><span class="p">;</span> <span class="p">}</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>index</td> <td>工件的索引。</td> </tr> </tbody> </table> <h3 id="返回值">返回值</h3> <p>页面上的工件。</p> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: SyncRoot https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/syncroot/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/syncroot/ <h2 id="artifactcollectionsyncroot-property">ArtifactCollection.SyncRoot property</h2> <p>获取集合的同步对象。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="kt">object</span> <span class="n">SyncRoot</span> <span class="p">{</span> <span class="k">get</span><span class="p">;</span> <span class="p">}</span> </span></span></code></pre></div><h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: Add https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/add/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/add/ <h2 id="artifactcollectionadd-method">ArtifactCollection.Add method</h2> <p>将工件添加到集合中。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="k">void</span> <span class="n">Add</span><span class="p">(</span><span class="n">Artifact</span> <span class="n">artifact</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>artifact</td> <td>Artifact</td> <td>应该添加到收藏中的神器。</td> </tr> </tbody> </table> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: CopyTo https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/copyto/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/copyto/ <h2 id="artifactcollectioncopyto-method">ArtifactCollection.CopyTo method</h2> <p>将集合复制到数组中。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="k">void</span> <span class="n">CopyTo</span><span class="p">(</span><span class="n">Artifact</span><span class="p">[]</span> <span class="n">dest</span><span class="p">,</span> <span class="kt">int</span> <span class="n">index</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>dest</td> <td>Artifact[]</td> <td>目标数组。</td> </tr> <tr> <td>index</td> <td>Int32</td> <td>起始索引。</td> </tr> </tbody> </table> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: Delete https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/delete/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/delete/ <h2 id="delete">Delete(Artifact)</h2> <p>删除指定的工件。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="k">void</span> <span class="n">Delete</span><span class="p">(</span><span class="n">Artifact</span> <span class="n">artifact</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>artifact</td> <td>Artifact</td> <td>将被删除的工件。</td> </tr> </tbody> </table> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <hr> <h2 id="delete_1">Delete(int)</h2> <p>按其索引删除工件。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="k">void</span> <span class="n">Delete</span><span class="p">(</span><span class="kt">int</span> <span class="n">index</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>index</td> <td>Int32</td> <td>要删除的工件的索引。</td> </tr> </tbody> </table> <h3 id="也可以看看-1">也可以看看</h3> <ul> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: FindByValue https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/findbyvalue/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/findbyvalue/ <h2 id="artifactcollectionfindbyvalue-method">ArtifactCollection.FindByValue method</h2> <p>按自定义值查找工件。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="n">List</span><span class="p">&lt;</span><span class="n">Artifact</span><span class="p">&gt;</span> <span class="n">FindByValue</span><span class="p">(</span><span class="kt">string</span> <span class="n">name</span><span class="p">,</span> <span class="kt">string</span> <span class="n">expectedValue</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>name</td> <td>String</td> <td>自定义值的名称。</td> </tr> <tr> <td>expectedValue</td> <td>String</td> <td>寻找的价值。</td> </tr> </tbody> </table> <h3 id="返回值">返回值</h3> <p>找到的工件列表。</p> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: GetEnumerator https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/getenumerator/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/getenumerator/ <h2 id="artifactcollectiongetenumerator-method">ArtifactCollection.GetEnumerator method</h2> <p>获取集合的枚举器。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="n">IEnumerator</span><span class="p">&lt;</span><span class="n">Artifact</span><span class="p">&gt;</span> <span class="n">GetEnumerator</span><span class="p">()</span> </span></span></code></pre></div><h3 id="返回值">返回值</h3> <p>枚举器对象。</p> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll --> Net: Update https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/update/ Mon, 01 Jan 0001 00:00:00 +0000 https://reference.aspose.com/pdf/zh/net/aspose.pdf/artifactcollection/update/ <h2 id="artifactcollectionupdate-method">ArtifactCollection.Update method</h2> <p>更新集合内的工件。</p> <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-csharp" data-lang="csharp"><span class="line"><span class="cl"><span class="k">public</span> <span class="k">void</span> <span class="n">Update</span><span class="p">(</span><span class="n">Artifact</span> <span class="n">artifact</span><span class="p">)</span> </span></span></code></pre></div><table> <thead> <tr> <th>范围</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>artifact</td> <td>Artifact</td> <td>工件待更新。</td> </tr> </tbody> </table> <h3 id="也可以看看">也可以看看</h3> <ul> <li>class <a href="../../artifact">Artifact</a></li> <li>class <a href="../../artifactcollection">ArtifactCollection</a></li> <li>命名空间 <a href="../../artifactcollection">Aspose.Pdf</a></li> <li>部件 <a href="../../../">Aspose.PDF</a></li> </ul> <!-- DO NOT EDIT: generated by xmldocmd for Aspose.PDF.dll -->