Grpc.Core.Metadata.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class Metadata
  8. | gRPC C# </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Metadata
  11. | gRPC C# ">
  12. <meta name="generator" content="docfx 2.36.0.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../index.html">
  34. <img id="logo" class="svg" src="../logo.svg" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list"></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Grpc.Core.Metadata">
  73. <h1 id="Grpc_Core_Metadata" data-uid="Grpc.Core.Metadata" class="text-break">Class Metadata
  74. </h1>
  75. <div class="markdown level0 summary"><p>A collection of metadata entries that can be exchanged during a call.
  76. gRPC supports these types of metadata:
  77. <ul><li>Request headersare sent by the client at the beginning of a remote call before any request messages are sent.</li><li>Response headersare sent by the server at the beginning of a remote call handler before any response messages are sent.</li><li>Response trailersare sent by the server at the end of a remote call along with resulting call status.</li></ul></p>
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><span class="xref">Metadata</span></div>
  84. </div>
  85. <div classs="implements">
  86. <h5>Implements</h5>
  87. <div><span class="xref">System.Collections.Generic.IList</span>&lt;<a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a>&gt;</div>
  88. <div><span class="xref">System.Collections.Generic.ICollection</span>&lt;<a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a>&gt;</div>
  89. <div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a>&gt;</div>
  90. <div><span class="xref">System.Collections.IEnumerable</span></div>
  91. </div>
  92. <div class="inheritedMembers">
  93. <h5>Inherited Members</h5>
  94. <div>
  95. <span class="xref">System.Object.Equals(System.Object)</span>
  96. </div>
  97. <div>
  98. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  99. </div>
  100. <div>
  101. <span class="xref">System.Object.GetHashCode()</span>
  102. </div>
  103. <div>
  104. <span class="xref">System.Object.GetType()</span>
  105. </div>
  106. <div>
  107. <span class="xref">System.Object.MemberwiseClone()</span>
  108. </div>
  109. <div>
  110. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  111. </div>
  112. <div>
  113. <span class="xref">System.Object.ToString()</span>
  114. </div>
  115. </div>
  116. <h6><strong>Namespace</strong>: <a class="xref" href="Grpc.Core.html">Grpc.Core</a></h6>
  117. <h6><strong>Assembly</strong>: Grpc.Core.Api.dll</h6>
  118. <h5 id="Grpc_Core_Metadata_syntax">Syntax</h5>
  119. <div class="codewrapper">
  120. <pre><code class="lang-csharp hljs">public sealed class Metadata : IList&lt;Metadata.Entry&gt;, ICollection&lt;Metadata.Entry&gt;, IEnumerable&lt;Metadata.Entry&gt;, IEnumerable</code></pre>
  121. </div>
  122. <h3 id="constructors">Constructors
  123. </h3>
  124. <a id="Grpc_Core_Metadata__ctor_" data-uid="Grpc.Core.Metadata.#ctor*"></a>
  125. <h4 id="Grpc_Core_Metadata__ctor" data-uid="Grpc.Core.Metadata.#ctor">Metadata()</h4>
  126. <div class="markdown level1 summary"><p>Initializes a new instance of <code>Metadata</code>.</p>
  127. </div>
  128. <div class="markdown level1 conceptual"></div>
  129. <h5 class="decalaration">Declaration</h5>
  130. <div class="codewrapper">
  131. <pre><code class="lang-csharp hljs">public Metadata()</code></pre>
  132. </div>
  133. <h3 id="fields">Fields
  134. </h3>
  135. <h4 id="Grpc_Core_Metadata_BinaryHeaderSuffix" data-uid="Grpc.Core.Metadata.BinaryHeaderSuffix">BinaryHeaderSuffix</h4>
  136. <div class="markdown level1 summary"><p>All binary headers should have this suffix.</p>
  137. </div>
  138. <div class="markdown level1 conceptual"></div>
  139. <h5 class="decalaration">Declaration</h5>
  140. <div class="codewrapper">
  141. <pre><code class="lang-csharp hljs">public const string BinaryHeaderSuffix = &quot;-bin&quot;</code></pre>
  142. </div>
  143. <h5 class="fieldValue">Field Value</h5>
  144. <table class="table table-bordered table-striped table-condensed">
  145. <thead>
  146. <tr>
  147. <th>Type</th>
  148. <th>Description</th>
  149. </tr>
  150. </thead>
  151. <tbody>
  152. <tr>
  153. <td><span class="xref">System.String</span></td>
  154. <td></td>
  155. </tr>
  156. </tbody>
  157. </table>
  158. <h4 id="Grpc_Core_Metadata_Empty" data-uid="Grpc.Core.Metadata.Empty">Empty</h4>
  159. <div class="markdown level1 summary"><p>An read-only instance of metadata containing no entries.</p>
  160. </div>
  161. <div class="markdown level1 conceptual"></div>
  162. <h5 class="decalaration">Declaration</h5>
  163. <div class="codewrapper">
  164. <pre><code class="lang-csharp hljs">public static readonly Metadata Empty</code></pre>
  165. </div>
  166. <h5 class="fieldValue">Field Value</h5>
  167. <table class="table table-bordered table-striped table-condensed">
  168. <thead>
  169. <tr>
  170. <th>Type</th>
  171. <th>Description</th>
  172. </tr>
  173. </thead>
  174. <tbody>
  175. <tr>
  176. <td><a class="xref" href="Grpc.Core.Metadata.html">Metadata</a></td>
  177. <td></td>
  178. </tr>
  179. </tbody>
  180. </table>
  181. <h3 id="properties">Properties
  182. </h3>
  183. <a id="Grpc_Core_Metadata_Count_" data-uid="Grpc.Core.Metadata.Count*"></a>
  184. <h4 id="Grpc_Core_Metadata_Count" data-uid="Grpc.Core.Metadata.Count">Count</h4>
  185. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  186. </div>
  187. <div class="markdown level1 conceptual"></div>
  188. <h5 class="decalaration">Declaration</h5>
  189. <div class="codewrapper">
  190. <pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
  191. </div>
  192. <h5 class="propertyValue">Property Value</h5>
  193. <table class="table table-bordered table-striped table-condensed">
  194. <thead>
  195. <tr>
  196. <th>Type</th>
  197. <th>Description</th>
  198. </tr>
  199. </thead>
  200. <tbody>
  201. <tr>
  202. <td><span class="xref">System.Int32</span></td>
  203. <td></td>
  204. </tr>
  205. </tbody>
  206. </table>
  207. <a id="Grpc_Core_Metadata_IsReadOnly_" data-uid="Grpc.Core.Metadata.IsReadOnly*"></a>
  208. <h4 id="Grpc_Core_Metadata_IsReadOnly" data-uid="Grpc.Core.Metadata.IsReadOnly">IsReadOnly</h4>
  209. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  210. </div>
  211. <div class="markdown level1 conceptual"></div>
  212. <h5 class="decalaration">Declaration</h5>
  213. <div class="codewrapper">
  214. <pre><code class="lang-csharp hljs">public bool IsReadOnly { get; }</code></pre>
  215. </div>
  216. <h5 class="propertyValue">Property Value</h5>
  217. <table class="table table-bordered table-striped table-condensed">
  218. <thead>
  219. <tr>
  220. <th>Type</th>
  221. <th>Description</th>
  222. </tr>
  223. </thead>
  224. <tbody>
  225. <tr>
  226. <td><span class="xref">System.Boolean</span></td>
  227. <td></td>
  228. </tr>
  229. </tbody>
  230. </table>
  231. <a id="Grpc_Core_Metadata_Item_" data-uid="Grpc.Core.Metadata.Item*"></a>
  232. <h4 id="Grpc_Core_Metadata_Item_System_Int32_" data-uid="Grpc.Core.Metadata.Item(System.Int32)">Item[Int32]</h4>
  233. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  234. </div>
  235. <div class="markdown level1 conceptual"></div>
  236. <h5 class="decalaration">Declaration</h5>
  237. <div class="codewrapper">
  238. <pre><code class="lang-csharp hljs">public Metadata.Entry this[int index] { get; set; }</code></pre>
  239. </div>
  240. <h5 class="parameters">Parameters</h5>
  241. <table class="table table-bordered table-striped table-condensed">
  242. <thead>
  243. <tr>
  244. <th>Type</th>
  245. <th>Name</th>
  246. <th>Description</th>
  247. </tr>
  248. </thead>
  249. <tbody>
  250. <tr>
  251. <td><span class="xref">System.Int32</span></td>
  252. <td><span class="parametername">index</span></td>
  253. <td></td>
  254. </tr>
  255. </tbody>
  256. </table>
  257. <h5 class="propertyValue">Property Value</h5>
  258. <table class="table table-bordered table-striped table-condensed">
  259. <thead>
  260. <tr>
  261. <th>Type</th>
  262. <th>Description</th>
  263. </tr>
  264. </thead>
  265. <tbody>
  266. <tr>
  267. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  268. <td></td>
  269. </tr>
  270. </tbody>
  271. </table>
  272. <h3 id="methods">Methods
  273. </h3>
  274. <a id="Grpc_Core_Metadata_Add_" data-uid="Grpc.Core.Metadata.Add*"></a>
  275. <h4 id="Grpc_Core_Metadata_Add_Grpc_Core_Metadata_Entry_" data-uid="Grpc.Core.Metadata.Add(Grpc.Core.Metadata.Entry)">Add(Metadata.Entry)</h4>
  276. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  277. </div>
  278. <div class="markdown level1 conceptual"></div>
  279. <h5 class="decalaration">Declaration</h5>
  280. <div class="codewrapper">
  281. <pre><code class="lang-csharp hljs">public void Add(Metadata.Entry item)</code></pre>
  282. </div>
  283. <h5 class="parameters">Parameters</h5>
  284. <table class="table table-bordered table-striped table-condensed">
  285. <thead>
  286. <tr>
  287. <th>Type</th>
  288. <th>Name</th>
  289. <th>Description</th>
  290. </tr>
  291. </thead>
  292. <tbody>
  293. <tr>
  294. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  295. <td><span class="parametername">item</span></td>
  296. <td></td>
  297. </tr>
  298. </tbody>
  299. </table>
  300. <a id="Grpc_Core_Metadata_Add_" data-uid="Grpc.Core.Metadata.Add*"></a>
  301. <h4 id="Grpc_Core_Metadata_Add_System_String_System_Byte___" data-uid="Grpc.Core.Metadata.Add(System.String,System.Byte[])">Add(String, Byte[])</h4>
  302. <div class="markdown level1 summary"><p>Adds a new binary-valued metadata entry. See <code>Metadata.Entry</code> constructor for params.</p>
  303. </div>
  304. <div class="markdown level1 conceptual"></div>
  305. <h5 class="decalaration">Declaration</h5>
  306. <div class="codewrapper">
  307. <pre><code class="lang-csharp hljs">public void Add(string key, byte[] valueBytes)</code></pre>
  308. </div>
  309. <h5 class="parameters">Parameters</h5>
  310. <table class="table table-bordered table-striped table-condensed">
  311. <thead>
  312. <tr>
  313. <th>Type</th>
  314. <th>Name</th>
  315. <th>Description</th>
  316. </tr>
  317. </thead>
  318. <tbody>
  319. <tr>
  320. <td><span class="xref">System.String</span></td>
  321. <td><span class="parametername">key</span></td>
  322. <td></td>
  323. </tr>
  324. <tr>
  325. <td><span class="xref">System.Byte</span>[]</td>
  326. <td><span class="parametername">valueBytes</span></td>
  327. <td></td>
  328. </tr>
  329. </tbody>
  330. </table>
  331. <a id="Grpc_Core_Metadata_Add_" data-uid="Grpc.Core.Metadata.Add*"></a>
  332. <h4 id="Grpc_Core_Metadata_Add_System_String_System_String_" data-uid="Grpc.Core.Metadata.Add(System.String,System.String)">Add(String, String)</h4>
  333. <div class="markdown level1 summary"><p>Adds a new ASCII-valued metadata entry. See <code>Metadata.Entry</code> constructor for params.</p>
  334. </div>
  335. <div class="markdown level1 conceptual"></div>
  336. <h5 class="decalaration">Declaration</h5>
  337. <div class="codewrapper">
  338. <pre><code class="lang-csharp hljs">public void Add(string key, string value)</code></pre>
  339. </div>
  340. <h5 class="parameters">Parameters</h5>
  341. <table class="table table-bordered table-striped table-condensed">
  342. <thead>
  343. <tr>
  344. <th>Type</th>
  345. <th>Name</th>
  346. <th>Description</th>
  347. </tr>
  348. </thead>
  349. <tbody>
  350. <tr>
  351. <td><span class="xref">System.String</span></td>
  352. <td><span class="parametername">key</span></td>
  353. <td></td>
  354. </tr>
  355. <tr>
  356. <td><span class="xref">System.String</span></td>
  357. <td><span class="parametername">value</span></td>
  358. <td></td>
  359. </tr>
  360. </tbody>
  361. </table>
  362. <a id="Grpc_Core_Metadata_Clear_" data-uid="Grpc.Core.Metadata.Clear*"></a>
  363. <h4 id="Grpc_Core_Metadata_Clear" data-uid="Grpc.Core.Metadata.Clear">Clear()</h4>
  364. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  365. </div>
  366. <div class="markdown level1 conceptual"></div>
  367. <h5 class="decalaration">Declaration</h5>
  368. <div class="codewrapper">
  369. <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
  370. </div>
  371. <a id="Grpc_Core_Metadata_Contains_" data-uid="Grpc.Core.Metadata.Contains*"></a>
  372. <h4 id="Grpc_Core_Metadata_Contains_Grpc_Core_Metadata_Entry_" data-uid="Grpc.Core.Metadata.Contains(Grpc.Core.Metadata.Entry)">Contains(Metadata.Entry)</h4>
  373. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  374. </div>
  375. <div class="markdown level1 conceptual"></div>
  376. <h5 class="decalaration">Declaration</h5>
  377. <div class="codewrapper">
  378. <pre><code class="lang-csharp hljs">public bool Contains(Metadata.Entry item)</code></pre>
  379. </div>
  380. <h5 class="parameters">Parameters</h5>
  381. <table class="table table-bordered table-striped table-condensed">
  382. <thead>
  383. <tr>
  384. <th>Type</th>
  385. <th>Name</th>
  386. <th>Description</th>
  387. </tr>
  388. </thead>
  389. <tbody>
  390. <tr>
  391. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  392. <td><span class="parametername">item</span></td>
  393. <td></td>
  394. </tr>
  395. </tbody>
  396. </table>
  397. <h5 class="returns">Returns</h5>
  398. <table class="table table-bordered table-striped table-condensed">
  399. <thead>
  400. <tr>
  401. <th>Type</th>
  402. <th>Description</th>
  403. </tr>
  404. </thead>
  405. <tbody>
  406. <tr>
  407. <td><span class="xref">System.Boolean</span></td>
  408. <td></td>
  409. </tr>
  410. </tbody>
  411. </table>
  412. <a id="Grpc_Core_Metadata_CopyTo_" data-uid="Grpc.Core.Metadata.CopyTo*"></a>
  413. <h4 id="Grpc_Core_Metadata_CopyTo_Grpc_Core_Metadata_Entry___System_Int32_" data-uid="Grpc.Core.Metadata.CopyTo(Grpc.Core.Metadata.Entry[],System.Int32)">CopyTo(Metadata.Entry[], Int32)</h4>
  414. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  415. </div>
  416. <div class="markdown level1 conceptual"></div>
  417. <h5 class="decalaration">Declaration</h5>
  418. <div class="codewrapper">
  419. <pre><code class="lang-csharp hljs">public void CopyTo(Metadata.Entry[] array, int arrayIndex)</code></pre>
  420. </div>
  421. <h5 class="parameters">Parameters</h5>
  422. <table class="table table-bordered table-striped table-condensed">
  423. <thead>
  424. <tr>
  425. <th>Type</th>
  426. <th>Name</th>
  427. <th>Description</th>
  428. </tr>
  429. </thead>
  430. <tbody>
  431. <tr>
  432. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a>[]</td>
  433. <td><span class="parametername">array</span></td>
  434. <td></td>
  435. </tr>
  436. <tr>
  437. <td><span class="xref">System.Int32</span></td>
  438. <td><span class="parametername">arrayIndex</span></td>
  439. <td></td>
  440. </tr>
  441. </tbody>
  442. </table>
  443. <a id="Grpc_Core_Metadata_GetEnumerator_" data-uid="Grpc.Core.Metadata.GetEnumerator*"></a>
  444. <h4 id="Grpc_Core_Metadata_GetEnumerator" data-uid="Grpc.Core.Metadata.GetEnumerator">GetEnumerator()</h4>
  445. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  446. </div>
  447. <div class="markdown level1 conceptual"></div>
  448. <h5 class="decalaration">Declaration</h5>
  449. <div class="codewrapper">
  450. <pre><code class="lang-csharp hljs">public IEnumerator&lt;Metadata.Entry&gt; GetEnumerator()</code></pre>
  451. </div>
  452. <h5 class="returns">Returns</h5>
  453. <table class="table table-bordered table-striped table-condensed">
  454. <thead>
  455. <tr>
  456. <th>Type</th>
  457. <th>Description</th>
  458. </tr>
  459. </thead>
  460. <tbody>
  461. <tr>
  462. <td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;<a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a>&gt;</td>
  463. <td></td>
  464. </tr>
  465. </tbody>
  466. </table>
  467. <a id="Grpc_Core_Metadata_IndexOf_" data-uid="Grpc.Core.Metadata.IndexOf*"></a>
  468. <h4 id="Grpc_Core_Metadata_IndexOf_Grpc_Core_Metadata_Entry_" data-uid="Grpc.Core.Metadata.IndexOf(Grpc.Core.Metadata.Entry)">IndexOf(Metadata.Entry)</h4>
  469. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  470. </div>
  471. <div class="markdown level1 conceptual"></div>
  472. <h5 class="decalaration">Declaration</h5>
  473. <div class="codewrapper">
  474. <pre><code class="lang-csharp hljs">public int IndexOf(Metadata.Entry item)</code></pre>
  475. </div>
  476. <h5 class="parameters">Parameters</h5>
  477. <table class="table table-bordered table-striped table-condensed">
  478. <thead>
  479. <tr>
  480. <th>Type</th>
  481. <th>Name</th>
  482. <th>Description</th>
  483. </tr>
  484. </thead>
  485. <tbody>
  486. <tr>
  487. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  488. <td><span class="parametername">item</span></td>
  489. <td></td>
  490. </tr>
  491. </tbody>
  492. </table>
  493. <h5 class="returns">Returns</h5>
  494. <table class="table table-bordered table-striped table-condensed">
  495. <thead>
  496. <tr>
  497. <th>Type</th>
  498. <th>Description</th>
  499. </tr>
  500. </thead>
  501. <tbody>
  502. <tr>
  503. <td><span class="xref">System.Int32</span></td>
  504. <td></td>
  505. </tr>
  506. </tbody>
  507. </table>
  508. <a id="Grpc_Core_Metadata_Insert_" data-uid="Grpc.Core.Metadata.Insert*"></a>
  509. <h4 id="Grpc_Core_Metadata_Insert_System_Int32_Grpc_Core_Metadata_Entry_" data-uid="Grpc.Core.Metadata.Insert(System.Int32,Grpc.Core.Metadata.Entry)">Insert(Int32, Metadata.Entry)</h4>
  510. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  511. </div>
  512. <div class="markdown level1 conceptual"></div>
  513. <h5 class="decalaration">Declaration</h5>
  514. <div class="codewrapper">
  515. <pre><code class="lang-csharp hljs">public void Insert(int index, Metadata.Entry item)</code></pre>
  516. </div>
  517. <h5 class="parameters">Parameters</h5>
  518. <table class="table table-bordered table-striped table-condensed">
  519. <thead>
  520. <tr>
  521. <th>Type</th>
  522. <th>Name</th>
  523. <th>Description</th>
  524. </tr>
  525. </thead>
  526. <tbody>
  527. <tr>
  528. <td><span class="xref">System.Int32</span></td>
  529. <td><span class="parametername">index</span></td>
  530. <td></td>
  531. </tr>
  532. <tr>
  533. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  534. <td><span class="parametername">item</span></td>
  535. <td></td>
  536. </tr>
  537. </tbody>
  538. </table>
  539. <a id="Grpc_Core_Metadata_Remove_" data-uid="Grpc.Core.Metadata.Remove*"></a>
  540. <h4 id="Grpc_Core_Metadata_Remove_Grpc_Core_Metadata_Entry_" data-uid="Grpc.Core.Metadata.Remove(Grpc.Core.Metadata.Entry)">Remove(Metadata.Entry)</h4>
  541. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  542. </div>
  543. <div class="markdown level1 conceptual"></div>
  544. <h5 class="decalaration">Declaration</h5>
  545. <div class="codewrapper">
  546. <pre><code class="lang-csharp hljs">public bool Remove(Metadata.Entry item)</code></pre>
  547. </div>
  548. <h5 class="parameters">Parameters</h5>
  549. <table class="table table-bordered table-striped table-condensed">
  550. <thead>
  551. <tr>
  552. <th>Type</th>
  553. <th>Name</th>
  554. <th>Description</th>
  555. </tr>
  556. </thead>
  557. <tbody>
  558. <tr>
  559. <td><a class="xref" href="Grpc.Core.Metadata.Entry.html">Metadata.Entry</a></td>
  560. <td><span class="parametername">item</span></td>
  561. <td></td>
  562. </tr>
  563. </tbody>
  564. </table>
  565. <h5 class="returns">Returns</h5>
  566. <table class="table table-bordered table-striped table-condensed">
  567. <thead>
  568. <tr>
  569. <th>Type</th>
  570. <th>Description</th>
  571. </tr>
  572. </thead>
  573. <tbody>
  574. <tr>
  575. <td><span class="xref">System.Boolean</span></td>
  576. <td></td>
  577. </tr>
  578. </tbody>
  579. </table>
  580. <a id="Grpc_Core_Metadata_RemoveAt_" data-uid="Grpc.Core.Metadata.RemoveAt*"></a>
  581. <h4 id="Grpc_Core_Metadata_RemoveAt_System_Int32_" data-uid="Grpc.Core.Metadata.RemoveAt(System.Int32)">RemoveAt(Int32)</h4>
  582. <div class="markdown level1 summary"><span class="xref">IList`1</span>
  583. </div>
  584. <div class="markdown level1 conceptual"></div>
  585. <h5 class="decalaration">Declaration</h5>
  586. <div class="codewrapper">
  587. <pre><code class="lang-csharp hljs">public void RemoveAt(int index)</code></pre>
  588. </div>
  589. <h5 class="parameters">Parameters</h5>
  590. <table class="table table-bordered table-striped table-condensed">
  591. <thead>
  592. <tr>
  593. <th>Type</th>
  594. <th>Name</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><span class="xref">System.Int32</span></td>
  601. <td><span class="parametername">index</span></td>
  602. <td></td>
  603. </tr>
  604. </tbody>
  605. </table>
  606. <h3 id="eii">Explicit Interface Implementations
  607. </h3>
  608. <a id="Grpc_Core_Metadata_System_Collections_IEnumerable_GetEnumerator_" data-uid="Grpc.Core.Metadata.System#Collections#IEnumerable#GetEnumerator*"></a>
  609. <h4 id="Grpc_Core_Metadata_System_Collections_IEnumerable_GetEnumerator" data-uid="Grpc.Core.Metadata.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4>
  610. <div class="markdown level1 summary"></div>
  611. <div class="markdown level1 conceptual"></div>
  612. <h5 class="decalaration">Declaration</h5>
  613. <div class="codewrapper">
  614. <pre><code class="lang-csharp hljs">IEnumerator IEnumerable.GetEnumerator()</code></pre>
  615. </div>
  616. <h5 class="returns">Returns</h5>
  617. <table class="table table-bordered table-striped table-condensed">
  618. <thead>
  619. <tr>
  620. <th>Type</th>
  621. <th>Description</th>
  622. </tr>
  623. </thead>
  624. <tbody>
  625. <tr>
  626. <td><span class="xref">System.Collections.IEnumerator</span></td>
  627. <td></td>
  628. </tr>
  629. </tbody>
  630. </table>
  631. <h3 id="implements">Implements</h3>
  632. <div>
  633. <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
  634. </div>
  635. <div>
  636. <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>
  637. </div>
  638. <div>
  639. <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
  640. </div>
  641. <div>
  642. <span class="xref">System.Collections.IEnumerable</span>
  643. </div>
  644. </article>
  645. </div>
  646. <div class="hidden-sm col-md-2" role="complementary">
  647. <div class="sideaffix">
  648. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  649. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  650. </nav>
  651. </div>
  652. </div>
  653. </div>
  654. </div>
  655. <footer>
  656. <div class="grad-bottom"></div>
  657. <div class="footer">
  658. <div class="container">
  659. <span class="pull-right">
  660. <a href="#top">Back to top</a>
  661. </span>
  662. <span>Generated by <strong>DocFX</strong></span>
  663. </div>
  664. </div>
  665. </footer>
  666. </div>
  667. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  668. <script type="text/javascript" src="../styles/docfx.js"></script>
  669. <script type="text/javascript" src="../styles/main.js"></script>
  670. </body>
  671. </html>