> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# kinetica.GetRecordsFromCollectionRequest.Encoding

> kinetica.GetRecordsFromCollectionRequest.Encoding — Kinetica C# API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1GetRecordsFromCollectionRequest#a94dbc896c3aba8a3dc527e3241cbe083" title="Specifies the encoding for returned records; either BINARY or JSON.">GetRecordsFromCollectionRequest.encoding</a>. <a href="#details">More...</a></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Static Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:aa0162161315fcac0ad08ea6e0b90f399" id="r_aa0162161315fcac0ad08ea6e0b90f399">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#aa0162161315fcac0ad08ea6e0b90f399">BINARY</a> = "binary"</td>
      </tr>

      <tr className="memdesc:aa0162161315fcac0ad08ea6e0b90f399">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A constant for the <a className="el" href="/content/api/cs/structkinetica_1_1GetRecordsFromCollectionRequest_1_1Encoding" title="A set of string constants for the parameter GetRecordsFromCollectionRequest.encoding.">GetRecordsFromCollectionRequest.Encoding</a> options. <br /></td>
      </tr>

      <tr className="separator:aa0162161315fcac0ad08ea6e0b90f399">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a01d7b44086e6cb0419650a3c8ddb3144" id="r_a01d7b44086e6cb0419650a3c8ddb3144">
        <td className="memItemLeft" align="right" valign="top">const string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a01d7b44086e6cb0419650a3c8ddb3144">JSON</a> = "json"</td>
      </tr>

      <tr className="memdesc:a01d7b44086e6cb0419650a3c8ddb3144">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">A constant for the <a className="el" href="/content/api/cs/structkinetica_1_1GetRecordsFromCollectionRequest_1_1Encoding" title="A set of string constants for the parameter GetRecordsFromCollectionRequest.encoding.">GetRecordsFromCollectionRequest.Encoding</a> options. <br /></td>
      </tr>

      <tr className="separator:a01d7b44086e6cb0419650a3c8ddb3144">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of string constants for the parameter <a className="el" href="/content/api/cs/classkinetica_1_1GetRecordsFromCollectionRequest#a94dbc896c3aba8a3dc527e3241cbe083" title="Specifies the encoding for returned records; either BINARY or JSON.">GetRecordsFromCollectionRequest.encoding</a>. </p>
      <p>Specifies the encoding for returned records; either <a className="el" href="#aa0162161315fcac0ad08ea6e0b90f399">BINARY</a> or <a className="el" href="#a01d7b44086e6cb0419650a3c8ddb3144">JSON</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source#l00032">32</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source">GetRecordsFromCollection.cs</a>.</p>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#aa0162161315fcac0ad08ea6e0b90f399">◆ </a></span>BINARY</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.GetRecordsFromCollectionRequest.Encoding.BINARY = "binary"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A constant for the <a className="el" href="/content/api/cs/structkinetica_1_1GetRecordsFromCollectionRequest_1_1Encoding" title="A set of string constants for the parameter GetRecordsFromCollectionRequest.encoding.">GetRecordsFromCollectionRequest.Encoding</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source#l00037">37</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source">GetRecordsFromCollection.cs</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a01d7b44086e6cb0419650a3c8ddb3144">◆ </a></span>JSON</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">const string kinetica.GetRecordsFromCollectionRequest.Encoding.JSON = "json"</td>
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel static">static</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>A constant for the <a className="el" href="/content/api/cs/structkinetica_1_1GetRecordsFromCollectionRequest_1_1Encoding" title="A set of string constants for the parameter GetRecordsFromCollectionRequest.encoding.">GetRecordsFromCollectionRequest.Encoding</a> options. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source#l00042">42</a> of file <a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source">GetRecordsFromCollection.cs</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following files:

    <ul>
      <li>\_build/public-os\_ubuntu24.04-arch\_amd64-cc\_gcc\_13.3.0/install/Kinetica/Protocol/<a className="el" href="/content/api/cs/__build_2public-os__ubuntu24_804-arch__amd64-cc__gcc__13_83_80_2install_2Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source">GetRecordsFromCollection.cs</a></li>
      <li>Kinetica/Protocol/<a className="el" href="/content/api/cs/Kinetica_2Protocol_2GetRecordsFromCollection_8cs_source">GetRecordsFromCollection.cs</a></li>
    </ul>
  </div>
</div>
