| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Interface ICharTermAttribute |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Interface ICharTermAttribute |
| | Apache Lucene.NET 4.8.0 Documentation "> |
| <meta name="generator" content="docfx 2.47.0.0"> |
| |
| <link rel="shortcut icon" href="../../logo/favicon.ico"> |
| <link rel="stylesheet" href="../../styles/docfx.vendor.css"> |
| <link rel="stylesheet" href="../../styles/docfx.css"> |
| <link rel="stylesheet" href="../../styles/main.css"> |
| <meta property="docfx:navrel" content="../../toc.html"> |
| <meta property="docfx:tocrel" content="../toc.html"> |
| |
| <meta property="docfx:rel" content="../../"> |
| |
| </head> |
| <body data-spy="scroll" data-target="#affix" data-offset="120"> |
| <div id="wrapper"> |
| <header> |
| |
| <nav id="autocollapse" class="navbar ng-scope" role="navigation"> |
| <div class="container"> |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| |
| <a class="navbar-brand" href="../../index.html"> |
| <img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt=""> |
| </a> |
| </div> |
| <div class="collapse navbar-collapse" id="navbar"> |
| <form class="navbar-form navbar-right" role="search" id="search"> |
| <div class="form-group"> |
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| </div> |
| </form> |
| </div> |
| </div> |
| </nav> |
| |
| <div class="subnav navbar navbar-default"> |
| <div class="container hide-when-search" id="breadcrumb"> |
| <ul class="breadcrumb"> |
| <li></li> |
| </ul> |
| </div> |
| </div> |
| </header> |
| <div class="container body-content"> |
| |
| <div id="search-results"> |
| <div class="search-list"></div> |
| <div class="sr-items"> |
| <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> |
| </div> |
| <ul id="pagination"></ul> |
| </div> |
| </div> |
| <div role="main" class="container body-content hide-when-search"> |
| |
| <div class="sidenav hide-when-search"> |
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| <div class="sidetoggle collapse" id="sidetoggle"> |
| <div id="sidetoc"></div> |
| </div> |
| </div> |
| <div class="article row grid-right"> |
| <div class="col-md-10"> |
| <article class="content wrap" id="_content" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute"> |
| |
| |
| <h1 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute" class="text-break">Interface ICharTermAttribute |
| </h1> |
| <div class="markdown level0 summary"><p>The term text of a <a class="xref" href="Lucene.Net.Analysis.Token.html">Token</a>.</p> |
| </div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Util.IAttribute.html#Lucene_Net_Util_IAttribute_CopyTo_Lucene_Net_Util_IAttribute_">IAttribute.CopyTo(IAttribute)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.ICharSequence.html#Lucene_Net_Support_ICharSequence_SubSequence_System_Int32_System_Int32_">ICharSequence.SubSequence(Int32, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.ICharSequence.html#Lucene_Net_Support_ICharSequence_ToString">ICharSequence.ToString()</a> |
| </div> |
| </div> |
| <h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.html">Lucene.Net.Analysis.TokenAttributes</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.dll</h6> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public interface ICharTermAttribute : IAttribute, ICharSequence</code></pre> |
| </div> |
| <h3 id="properties">Properties |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Buffer.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Buffer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L51">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Buffer_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Buffer*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Buffer" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Buffer">Buffer</h4> |
| <div class="markdown level1 summary"><p>Returns the internal termBuffer character array which |
| you can then directly alter. If the array is too |
| small for your token, use <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_ResizeBuffer_System_Int32_">ResizeBuffer(Int32)</a> |
| to increase it. After |
| altering the buffer be sure to call <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetLength_System_Int32_">SetLength(Int32)</a> |
| to record the number of valid |
| characters that were placed into the termBuffer. |
| <p> |
| <strong>NOTE</strong>: The returned buffer may be larger than |
| the valid <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Length">Length</a>. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">char[] Buffer { get; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span>[]</td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Item_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Item(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L68">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Item_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Item*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Item_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Item(System.Int32)">Item[Int32]</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">char this[int index] { get; set; }</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">index</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Length.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Length%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L65">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Length_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Length*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Length" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Length">Length</h4> |
| <div class="markdown level1 summary"><p>Gets or Sets the number of valid characters (in |
| the termBuffer array. |
| <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetLength_System_Int32_">SetLength(Int32)</a></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">int Length { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="methods">Methods |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L217">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute)">Append(ICharTermAttribute)</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the other <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a> to this character sequence. |
| <p>The characters of the <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(ICharTermAttribute termAtt)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td><span class="parametername">termAtt</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Support_ICharSequence_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Support.ICharSequence)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L101">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Support_ICharSequence_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Support.ICharSequence)">Append(ICharSequence)</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a> to this character sequence. |
| <p> |
| The characters of the <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(ICharSequence csq)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a></td> |
| <td><span class="parametername">csq</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Support_ICharSequence_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Support.ICharSequence%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L115">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_Lucene_Net_Support_ICharSequence_System_Int32_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(Lucene.Net.Support.ICharSequence,System.Int32,System.Int32)">Append(ICharSequence, Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a> to this character sequence, beginning and ending |
| at the specified indices. |
| <p> |
| The characters of the <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(ICharSequence csq, int start, int end)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a></td> |
| <td><span class="parametername">csq</span></td> |
| <td><p>The index of the first character in the subsequence.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>The start index of the <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a> to begin copying characters.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">end</span></td> |
| <td><p>The index of the character following the last character in the subsequence.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L121">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char)">Append(Char)</h4> |
| <div class="markdown level1 summary"><p>Appends the supplied <span class="xref">System.Char</span> to this character sequence.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(char c)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span></td> |
| <td><span class="parametername">c</span></td> |
| <td><p>The <span class="xref">System.Char</span> to append.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char___.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L135">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char___" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char[])">Append(Char[])</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the <span class="xref">char[]</span> array to this character sequence. |
| <p> |
| The characters of the <span class="xref">char[]</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(char[] csq)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span>[]</td> |
| <td><span class="parametername">csq</span></td> |
| <td><p>The <span class="xref">char[]</span> array to append.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char____remarks">Remarks</h5> |
| <div class="markdown level1 remarks"><p>LUCENENET specific method, added to simulate using the CharBuffer class in Java.</p> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char___System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char%5B%5D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L154">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char___System_Int32_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Char[],System.Int32,System.Int32)">Append(Char[], Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the <span class="xref">char[]</span> array to this character sequence, beginning and ending |
| at the specified indices. |
| <p> |
| The characters of the <span class="xref">char[]</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(char[] csq, int start, int end)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span>[]</td> |
| <td><span class="parametername">csq</span></td> |
| <td><p>The <span class="xref">char[]</span> array to append.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>The start index of the <span class="xref">char[]</span> to begin copying characters.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">end</span></td> |
| <td><p>The index of the character following the last character in the subsequence.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Char___System_Int32_System_Int32__remarks">Remarks</h5> |
| <div class="markdown level1 remarks"><p>LUCENENET specific method, added to simulate using the CharBuffer class in Java. Note that |
| the <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_CopyBuffer_System_Char___System_Int32_System_Int32_">CopyBuffer(Char[], Int32, Int32)</a> method provides similar functionality, except for |
| the last argument of this method is an index of the array rather than the length of characters to copy.</p> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L168">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.String)">Append(String)</h4> |
| <div class="markdown level1 summary"><p>Appends the specified <span class="xref">System.String</span> to this character sequence. |
| <p> |
| The characters of the <span class="xref">System.String</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(string s)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">s</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String__remarks">Remarks</h5> |
| <div class="markdown level1 remarks"><p>LUCENENET specific method, added because the .NET <span class="xref">System.String</span> data type |
| doesn't implement <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a>. </p> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.String%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L186">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String_System_Int32_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.String,System.Int32,System.Int32)">Append(String, Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Appends the contents of the <span class="xref">System.String</span> to this character sequence, beginning and ending |
| at the specified indices. |
| <p> |
| The characters of the <span class="xref">System.String</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(string csq, int start, int end)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">csq</span></td> |
| <td><p>The index of the first character in the subsequence.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>The start index of the <span class="xref">System.String</span> to begin copying characters.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">end</span></td> |
| <td><p>The index of the character following the last character in the subsequence.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_String_System_Int32_System_Int32__remarks">Remarks</h5> |
| <div class="markdown level1 remarks"><p>LUCENENET specific method, added because the .NET <span class="xref">System.String</span> data type |
| doesn't implement <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a>. </p> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Text_StringBuilder_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Text.StringBuilder)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L197">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Text_StringBuilder_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Text.StringBuilder)">Append(StringBuilder)</h4> |
| <div class="markdown level1 summary"><p>Appends the specified <span class="xref">System.Text.StringBuilder</span> to this character sequence. |
| <p> |
| The characters of the <span class="xref">System.Text.StringBuilder</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended. |
| </p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(StringBuilder sb)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Text.StringBuilder</span></td> |
| <td><span class="parametername">sb</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Text_StringBuilder_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Text.StringBuilder%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L209">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Text_StringBuilder_System_Int32_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.Append(System.Text.StringBuilder,System.Int32,System.Int32)">Append(StringBuilder, Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Appends the specified <span class="xref">System.Text.StringBuilder</span> to this character sequence. |
| <p>The characters of the <span class="xref">System.Text.StringBuilder</span> argument are appended, in order, increasing the length of |
| this sequence by the length of the argument. If argument is <code>null</code>, then the four |
| characters <code>"null"</code> are appended.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute Append(StringBuilder s, int start, int end)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Text.StringBuilder</span></td> |
| <td><span class="parametername">s</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">end</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Append_System_Text_StringBuilder_System_Int32_System_Int32__remarks">Remarks</h5> |
| <div class="markdown level1 remarks"><p>LUCENENET specific method, added because the .NET <span class="xref">System.Text.StringBuilder</span> data type |
| doesn't implement <a class="xref" href="Lucene.Net.Support.ICharSequence.html">ICharSequence</a>.</p> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_CopyBuffer_System_Char___System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.CopyBuffer(System.Char%5B%5D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L36">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_CopyBuffer_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.CopyBuffer*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_CopyBuffer_System_Char___System_Int32_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.CopyBuffer(System.Char[],System.Int32,System.Int32)">CopyBuffer(Char[], Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Copies the contents of buffer, starting at offset for |
| length characters, into the termBuffer array. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void CopyBuffer(char[] buffer, int offset, int length)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span>[]</td> |
| <td><span class="parametername">buffer</span></td> |
| <td><p>the buffer to copy </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">offset</span></td> |
| <td><p>the index in the buffer of the first character to copy </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">length</span></td> |
| <td><p>the number of characters to copy </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_ResizeBuffer_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.ResizeBuffer(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L58">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_ResizeBuffer_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.ResizeBuffer*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_ResizeBuffer_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.ResizeBuffer(System.Int32)">ResizeBuffer(Int32)</h4> |
| <div class="markdown level1 summary"><p>Grows the termBuffer to at least size <code data-dev-comment-type="paramref" class="paramref">newSize</code>, preserving the |
| existing content. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">char[] ResizeBuffer(int newSize)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">newSize</span></td> |
| <td><p>minimum size of the new termBuffer </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Char</span>[]</td> |
| <td><p>newly created termBuffer with length >= newSize </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetEmpty.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetEmpty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L89">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetEmpty_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetEmpty*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetEmpty" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetEmpty">SetEmpty()</h4> |
| <div class="markdown level1 summary"><p>Sets the length of the termBuffer to zero. |
| Use this method before appending contents.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute SetEmpty()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetLength_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetLength(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L83">View Source</a> |
| </span> |
| <a id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetLength_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetLength*"></a> |
| <h4 id="Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_SetLength_System_Int32_" data-uid="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.SetLength(System.Int32)">SetLength(Int32)</h4> |
| <div class="markdown level1 summary"><p>Set number of valid characters (length of the term) in |
| the termBuffer array. Use this to truncate the termBuffer |
| or to synchronize with external manipulation of the termBuffer. |
| Note: to grow the size of the array, |
| use <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_ResizeBuffer_System_Int32_">ResizeBuffer(Int32)</a> first. |
| NOTE: This is exactly the same operation as calling the <a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html#Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute_Length">Length</a> setter, the primary |
| difference is that this method returns a reference to the current object so it can be chained.</p> |
| <pre><code>obj.SetLength(30).Append("hey you");</code></pre> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">ICharTermAttribute SetLength(int length)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">length</span></td> |
| <td><p>the truncated length </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute.html">ICharTermAttribute</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| </article> |
| </div> |
| |
| <div class="hidden-sm col-md-2" role="complementary"> |
| <div class="sideaffix"> |
| <div class="contribution"> |
| <ul class="nav"> |
| <li> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Analysis_TokenAttributes_ICharTermAttribute.md&value=---%0Auid%3A%20Lucene.Net.Analysis.TokenAttributes.ICharTermAttribute%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| </li> |
| <li> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Analysis/TokenAttributes/ICharTermAttribute.cs/#L28" class="contribution-link">View Source</a> |
| </li> |
| </ul> |
| </div> |
| <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> |
| <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> --> |
| </nav> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <footer> |
| <div class="grad-bottom"></div> |
| <div class="footer"> |
| <div class="container"> |
| <span class="pull-right"> |
| <a href="#top">Back to top</a> |
| </span> |
| Copyright © 2020 Licensed to the Apache Software Foundation (ASF) |
| |
| </div> |
| </div> |
| </footer> |
| </div> |
| |
| <script type="text/javascript" src="../../styles/docfx.vendor.js"></script> |
| <script type="text/javascript" src="../../styles/docfx.js"></script> |
| <script type="text/javascript" src="../../styles/main.js"></script> |
| </body> |
| </html> |