1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769
|
<Type Name="NameValueCollection" FullName="System.Collections.Specialized.NameValueCollection" FullNameSP="System_Collections_Specialized_NameValueCollection" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public serializable NameValueCollection extends System.Object" />
<TypeSignature Language="C#" Value="public class NameValueCollection : Object" />
<MemberOfLibrary>Networking</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.x.x</AssemblyVersion>
<AssemblyCulture>none</AssemblyCulture>
<Attributes>
<Attribute>
<AttributeName>CLSCompliantAttribute(true)</AttributeName>
<Excluded>0</Excluded>
</Attribute>
</Attributes>
</AssemblyInfo>
<ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
<Docs>
<summary>
<para> Represents a collection of associated <see cref="T:System.String" /> keys and <see cref="T:System.String" />
values.</para>
</summary>
<remarks>
<para>This class can be used for headers, query strings and
form data. Each key in the collection is associated with one or more
values. Multiple values for a particular key are contained in a single
<see cref="T:System.String" /> are stored as a <see cref="T:System.Collections.ArrayList" /> . </para>
<para>The capacity is the number of key-and-value pairs that the <see cref="T:System.Collections.Specialized.NameValueCollection" /> can contain. The default initial
capacity is zero. The capacity is automatically increased as required.</para>
<para>The hash code provider dispenses hash codes for keys in the <see cref="T:System.Collections.Specialized.NameValueCollection" />.</para>
<para>The comparer determines whether two keys are equal.</para>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.ICollection</InterfaceName>
<Excluded>0</Excluded>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
<Excluded>0</Excluded>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>DefaultMemberAttribute("Item")</AttributeName>
<Excluded>1</Excluded>
<ExcludedTypeName>System.Reflection.DefaultMemberAttribute</ExcludedTypeName>
<ExcludedLibraryName>RuntimeInfrastructure</ExcludedLibraryName>
</Attribute>
</Attributes>
<Members>
<Member MemberName="GetKey">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual string GetKey(int32 index)" />
<MemberSignature Language="C#" Value="public virtual string GetKey(int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Returns the key at the specified index of the current
instance.</para>
</summary>
<param name="index">
<para>A <see cref="T:System.Int32" /> that specifies the zero-based index of the key to get from the current instance.</para>
</param>
<returns>
<para>A <see cref="T:System.String" /> that contains the
key at the specified index of the current instance, if found;
otherwise, <see langword="null" />.</para>
</returns>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is outside the valid range of indices for the current instance.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetValues">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.String[] GetValues(int32 index)" />
<MemberSignature Language="C#" Value="public virtual string[] GetValues(int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para> Returns an array that contains the values at the
specified index of the current instance.</para>
</summary>
<param name="index">
<para> A <see cref="T:System.Int32" /> that specifies the zero-based index of the entry that contains the values to get from the current instance.</para>
</param>
<returns>
<para> A <see cref="T:System.String" /> array containing the values at the specified index of the
current instance, if found;
otherwise, <see langword="null" />.</para>
</returns>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is outside the valid range of indices for the current instance.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Get">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual string Get(int32 index)" />
<MemberSignature Language="C#" Value="public virtual string Get(int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para> Returns the values at the
specified index of the
current instance.</para>
</summary>
<param name="index">
<para>A <see cref="T:System.Int32" /> that specifies the zero-based index of the entry that contains the values to get from the current instance.</para>
</param>
<returns>
<para>A <see cref="T:System.String" /> that contains a
comma-separated list of the values at the specified index of the current
instance, if found;
otherwise, <see langword="null" />.</para>
</returns>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is outside the valid range of indices for the current instance.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Remove(string name)" />
<MemberSignature Language="C#" Value="public virtual void Remove(string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Removes the entry with the specified key from the current instance.</para>
</summary>
<param name="name">A <see cref="T:System.String" /> containing the key of the entry to remove from the current instance.</param>
<exception cref="T:System.NotSupportedException">
<para>The current instance is read-only or has a fixed size.</para>
</exception>
<remarks>
<para>
<block subset="none" type="behaviors">If <paramref name="name" />
is found, the key <paramref name="name" /> and its associated value are set
to <see langword="null" />.
Removing an element does not alter the capacity of a
<see cref="T:System.Collections.Specialized.NameValueCollection" />
. </block>
</para>
<para>
<block subset="none" type="default">This method uses the <see cref="M:System.Object.Equals(System.Object)" /> implementation of <paramref name="name" /> to locate <paramref name="name" /> in the
current instance. If <paramref name="name" /> is not found in the current
instance or is <see langword="null" />, no exception
is thrown and the current
instance is unchanged. </block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Set">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Set(string name, string value)" />
<MemberSignature Language="C#" Value="public virtual void Set(string name, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Sets the value of the specified entry in the current
instance to the specified value.</para>
</summary>
<param name="name">
<para>A <see cref="T:System.String" /> containing the key of the entry to add the new value to. </para>
</param>
<param name="value">
<para>A <see cref="T:System.String" /> containing the new value to add to the specified entry. </para>
</param>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">If the
specified key already exists in the current instance, this method overwrites the
existing values with the specified value. If the specified key does not exist in the current instance, this method creates
a new entry using the specified key and the specified value.</block>
</para>
<para>
<block subset="none" type="usage">Use the <see cref="M:System.Collections.Specialized.NameValueCollection.Add(System.Collections.Specialized.NameValueCollection)" />
method to add the new value to the existing list of values.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="GetValues">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual class System.String[] GetValues(string name)" />
<MemberSignature Language="C#" Value="public virtual string[] GetValues(string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Gets the values associated with the specified key from
the current instance.</para>
</summary>
<param name="name">
<para>A <see cref="T:System.String" /> that specifies the key of the entry that contains the values to get. </para>
</param>
<returns>
<para> A <see cref="T:System.String" />
array containing the values associated with <paramref name="name" />
from the current instance, if found;
otherwise, <see langword="null" />.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If <paramref name="name" /> is
<see langword="null" />, no exception is thrown and <see langword="null" /> is returned.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Get">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual string Get(string name)" />
<MemberSignature Language="C#" Value="public virtual string Get(string name);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para> Gets the values associated with the specified key from
the current instance combined into one comma-separated list.</para>
</summary>
<param name="name">
<para>A <see cref="T:System.String" /> that specified the key of the entry that contains the values to get.</para>
</param>
<returns>
<para>A <see cref="T:System.String" /> that contains a
comma-separated list of the values associated with the specified key from the
current instance, if found;
otherwise, <see langword="null" />.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<para>
<block subset="none" type="default">If <paramref name="name" /> is
<see langword="null" />, no exception is thrown and <see langword="null" /> is returned.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Add">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Add(string name, string value)" />
<MemberSignature Language="C#" Value="public virtual void Add(string name, string value);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Adds an entry with the specified key and value to the current instance.</para>
</summary>
<param name="name">
<para>A <see cref="T:System.String" /> that represents the key of the entry to add. Can be <see langword="null" /> .</para>
</param>
<param name="value">
<para>A <see cref="T:System.String" /> that represents the value of the entry to add. Can be <see langword="null" /> .</para>
</param>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<remarks>
<para>
<block subset="none" type="behaviors">As described
above.</block>
</para>
<block subset="none" type="default">
<para>If the specified key already exists in the current instance, the specified
value is added to the existing comma-separated list of values associated with
the same key.</para>
<para>If the same value already exists under the same key in the collection, the
new value overwrites the old value.</para>
</block>
<para>
<block subset="none" type="overrides">Override this method to customize the default
behavior in a type derived from the current
type.</block>
</para>
<para>
<block subset="none" type="usage">Use this method to
add an entry to the current
instance.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="InvalidateCachedArrays">
<MemberSignature Language="ILASM" Value=".method family hidebysig instance void InvalidateCachedArrays()" />
<MemberSignature Language="C#" Value="protected void InvalidateCachedArrays();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Resets the cached arrays of the current instance to <see langword="null" />.</para>
</summary>
<remarks>
<para>
<block subset="none" type="note">The array returned by <see cref="P:System.Collections.Specialized.NameValueCollection.AllKeys" /> is cached for better performance and is automatically refreshed
when the collection changes. A derived class can invalidate the
cached version by calling <see cref="M:System.Collections.Specialized.NameValueCollection.InvalidateCachedArrays" />, thereby
forcing the arrays to be recreated.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Add">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void Add(class System.Collections.Specialized.NameValueCollection c)" />
<MemberSignature Language="C#" Value="public void Add(NameValueCollection c);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="c" Type="System.Collections.Specialized.NameValueCollection" />
</Parameters>
<Docs>
<summary>
<para>Copies the entries from the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> to
the current instance.</para>
</summary>
<param name="c">The <see cref="T:System.Collections.Specialized.NameValueCollection" /> to copy to the current instance. </param>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="c" /> is <see langword="null" />.</exception>
<remarks>
<para>If a key in <paramref name="c" /> already exists in the target <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance, the associated value in
<paramref name="c" /> is added to the existing comma-separated list of values
associated with the same key in the target <see cref="T:System.Collections.Specialized.NameValueCollection" /> instance.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Clear">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void Clear()" />
<MemberSignature Language="C#" Value="public void Clear();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Invalidates the cached arrays and removes all entries from
the current instance.</para>
</summary>
<exception cref="T:System.NotSupportedException">The current instance is read-only.</exception>
<remarks>
<para>The value of each key and value in the current instance is set to
<see langword="null" />
.</para>
<para>If the current instance is empty, it remains unchanged and no exception is
thrown.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance void CopyTo(class System.Array dest, int32 index)" />
<MemberSignature Language="C#" Value="public void CopyTo(Array dest, int index);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dest" Type="System.Array" />
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Copies the elements from the current instance to the specified <see cref="T:System.Array" />, starting at the specified
index in that array.</para>
</summary>
<param name="dest">A one-dimensional, zero-based <see cref="T:System.Array" /> that is the destination of the elements copied from the current instance.</param>
<param name="index">A <see cref="T:System.Int32" /> containing the zero-based index in <paramref name="dest" /> at which copying begins. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="dest" /> is <see langword="null" />.</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> < 0.</exception>
<exception cref="T:System.ArgumentException">
<para>
<paramref name="dest" /> has more than one dimension.</para>
<para>
<paramref name="index" /> >= <paramref name="dest" />.Length.</para>
<para>The number of elements in the current instance is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="dest" />.</para>
</exception>
<exception cref="T:System.InvalidCastException">At least one element in the current instance is not assignment-compatible with the type of <paramref name="dest" />.</exception>
<remarks>
<para>This method uses <see cref="M:System.Array.Copy(System.Array,System.Array,System.Int32)" qualify="true" /> to copy the elements.</para>
<para>
<block subset="none" type="note">This method is
implemented to support the <see cref="T:System.Collections.ICollection" /> interface.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="HasKeys">
<MemberSignature Language="ILASM" Value=".method public hidebysig instance bool HasKeys()" />
<MemberSignature Language="C#" Value="public bool HasKeys();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets a <see cref="T:System.Boolean" /> value indicating whether the current instance
contains keys that are not <see langword="null" />.</para>
</summary>
<returns>
<para>
<see langword="true" /> if the
current instance contains
keys that are not <see langword="null" />; otherwise, <see langword="false" />.</para>
</returns>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="public NameValueCollection();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" />
class.</para>
</summary>
<remarks>
<para>The new instance is initialized with the default initial capacity, <see cref="T:System.Collections.IHashCodeProvider" />, and <see cref="T:System.Collections.IComparer" />.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Collections.Specialized.NameValueCollection col)" />
<MemberSignature Language="C#" Value="public NameValueCollection(NameValueCollection col);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="col" Type="System.Collections.Specialized.NameValueCollection" />
</Parameters>
<Docs>
<summary>
<para> Constructs and
initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class using the values of the specified <see cref="T:System.Collections.Specialized.NameValueCollection" />
.</para>
</summary>
<param name="col">The <see cref="T:System.Collections.Specialized.NameValueCollection" /> used to initialize the new instance.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="col" /> is <see langword="null" />.</exception>
<remarks>
<para>The capacity, values, and order of values of the new
instance are equal to the capacity and values of <paramref name="col" />
. The <see cref="T:System.Collections.IHashCodeProvider" /> and <see cref="T:System.Collections.IComparer" /> of the new instance are the
default instances.</para>
<para>The elements of the new <see cref="T:System.Collections.Specialized.NameValueCollection" /> are sorted in the same
order as the source <see cref="T:System.Collections.Specialized.NameValueCollection" />.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(class System.Collections.IHashCodeProvider hashProvider, class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public NameValueCollection(IHashCodeProvider hashProvider, IComparer comparer);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="hashProvider" Type="System.Collections.IHashCodeProvider" />
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class
with the specified <see cref="T:System.Collections.IHashCodeProvider" /> and the specified <see cref="T:System.Collections.IComparer" />
.</para>
</summary>
<param name="hashProvider">
<para>The <see cref="T:System.Collections.IHashCodeProvider" /> that supplies the hash codes for all keys in the new instance; or, <see langword="null" /> to use the default hash code provider.</para>
</param>
<param name="comparer">
<para>The <see cref="T:System.Collections.IComparer" /> to use to determine whether two keys are equal. Specify <see langword="null" /> to use the default comparer.</para>
</param>
<remarks>
<para>The new instance is initialized with the default capacity of zero.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(int32 capacity)" />
<MemberSignature Language="C#" Value="public NameValueCollection(int capacity);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="capacity" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" />
class with the specified initial capacity.</para>
</summary>
<param name="capacity">A <see cref="T:System.Int32" /> containing the initial number of entries that the new instance can contain. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="capacity" /> < 0. </exception>
<remarks>
<para>The new instance is initialized with the default <see cref="T:System.Collections.IHashCodeProvider" /> and <see cref="T:System.Collections.IComparer" />
.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(int32 capacity, class System.Collections.Specialized.NameValueCollection col)" />
<MemberSignature Language="C#" Value="public NameValueCollection(int capacity, NameValueCollection col);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="capacity" Type="System.Int32" />
<Parameter Name="col" Type="System.Collections.Specialized.NameValueCollection" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" /> class
that contains the same values as the specified <see cref="T:System.Collections.Specialized.NameValueCollection" /> and either the specified capacity or the
capacity of the specified collection, whichever is
greater.</para>
</summary>
<param name="capacity">A <see cref="T:System.Int32" /> containing the initial number of entries that the new instance can contain. </param>
<param name="col">The <see cref="T:System.Collections.Specialized.NameValueCollection" /> used to initialize the new instance. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="col" /> is <see langword="null" />.</exception>
<remarks>
<para>The new instance is initialized with the default <see cref="T:System.Collections.IHashCodeProvider" /> and <see cref="T:System.Collections.IComparer" /> .</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(int32 capacity, class System.Collections.IHashCodeProvider hashProvider, class System.Collections.IComparer comparer)" />
<MemberSignature Language="C#" Value="public NameValueCollection(int capacity, IHashCodeProvider hashProvider, IComparer comparer);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="capacity" Type="System.Int32" />
<Parameter Name="hashProvider" Type="System.Collections.IHashCodeProvider" />
<Parameter Name="comparer" Type="System.Collections.IComparer" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes new instance of the <see cref="T:System.Collections.Specialized.NameValueCollection" />
class with the specified initial capacity, hash code provider,
and comparer.</para>
</summary>
<param name="capacity">A <see cref="T:System.Int32" /> containing the initial number of entries that the <see cref="T:System.Collections.Specialized.NameValueCollection" /> can contain. </param>
<param name="hashProvider">The <see cref="T:System.Collections.IHashCodeProvider" /> that will supply the hash codes for all keys in the new instance.</param>
<param name="comparer">
<para> The <see cref="T:System.Collections.IComparer" /> to use to determine whether two keys in the new instance are equal.</para>
</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="capacity" /> < 0. </exception>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Item">
<MemberSignature Language="ILASM" Value=".property string Item[string name] { public hidebysig specialname instance string get_Item(string name) public hidebysig specialname instance void set_Item(string name, string value) }" />
<MemberSignature Language="C#" Value="public string this[string name] { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Gets or sets the value in the current instance that is associated with the
specified key.</para>
</summary>
<param name="name">
<para>A <see cref="T:System.String" /> containing the key of the entry to locate. </para>
</param>
<value>
<para>A <see cref="T:System.String" /> that contains the
comma-separated list of values associated with the specified key. If
<paramref name="key" /> is not contained in the current instance, attempting to get it
returns <see langword="null" />, and attempting to set it creates a new entry
using <paramref name="key" />
.</para>
</value>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is outside the valid range of indexes for the collection.</exception>
<exception cref="T:System.NotSupportedException">The property is being set and the current instance is read-only. <para>The property is being set, <paramref name="key" /> is not contained in the current instance, and the current instance has a fixed size.</para></exception>
<remarks>
<para>If the specified key already exists in the collection,
setting this property overwrites the existing values with the specified
value. If the specified key does not exist in the collection, setting this
property creates a new entry using the specified key and the specified
value.</para>
<block subset="none" type="note">
<para>This property provides the ability to access a specific element in the
current instance using the following notation: myCollection[key] .</para>
<para> To add the new value to
the existing list of values, use the <see cref="M:System.Collections.Specialized.NameValueCollection.Add(System.Collections.Specialized.NameValueCollection)" /> method.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Item">
<MemberSignature Language="ILASM" Value=".property string Item[int32 index] { public hidebysig specialname instance string get_Item(int32 index) }" />
<MemberSignature Language="C#" Value="public string this[int index] { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="index" Type="System.Int32" />
</Parameters>
<Docs>
<summary>
<para> Gets the value in the current instance that is associated with the
specified index.</para>
</summary>
<param name="index">
<para> A <see cref="T:System.Int32" /> that specifies the zero-based index of the entry to locate in the current instance.</para>
</param>
<value>
<para>A <see cref="T:System.String" /> that contains the comma-separated list of values at the specified
index of the current instance.</para>
</value>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> is outside the valid range of indices for the current instance.</exception>
<remarks>
<para>This property is read-only.</para>
<block subset="none" type="note">
<para>This property provides the ability to access a specific element in the
collection by using the following syntax: <c>myCollection[index]</c>.</para>
<para>This property cannot be set. To set the value at a specified index,
use <c>Item[GetKey(index)]</c>.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="AllKeys">
<MemberSignature Language="ILASM" Value=".property class System.String[] AllKeys { public hidebysig virtual specialname class System.String[] get_AllKeys() }" />
<MemberSignature Language="C#" Value="public virtual string[] AllKeys { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets all the keys in the current instance. </para>
</summary>
<value>
<para> A <see cref="T:System.String" /> array containing all the keys of the current instance.
If the current instance is empty, the value of this property is an empty array.</para>
</value>
<remarks>
<para>
<block subset="none" type="behaviors">This property
is read-only.</block>
</para>
<para>
<block subset="none" type="usage">The array returned by <see cref="P:System.Collections.Specialized.NameValueCollection.AllKeys" /> is cached for better
performance and is automatically refreshed when the collection changes. A
derived class can invalidate the cached version by calling <see cref="M:System.Collections.Specialized.NameValueCollection.InvalidateCachedArrays" />, thereby forcing the array to be refreshed.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NameValueCollection(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
<Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
</Parameters>
<Docs>
<summary>To be added.</summary>
<param name="info">To be added.</param>
<param name="context">To be added.</param>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|