Skip to content

Commit

Permalink
Corrected description for indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
aidy-jenkins authored Oct 1, 2024
1 parent 75d9d50 commit 9c12756
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xml/System.Data.Common/DbConnectionStringBuilder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ builder2.EquivalentTo(builder3) = False
<Docs>
<param name="keyword">The key of the item to get or set.</param>
<summary>Gets or sets the value associated with the specified key.</summary>
<value>The value associated with the specified key. If the specified key is not found, trying to get it returns a null reference (<see langword="Nothing" /> in Visual Basic), and trying to set it creates a new element using the specified key.
<value>The value associated with the specified key. If the specified key is not found, trying to get it throws an <see cref="T:System.ArgumentException" />, and trying to set it creates a new element using the specified key.

Passing a null (<see langword="Nothing" /> in Visual Basic) key throws an <see cref="T:System.ArgumentNullException" />. Assigning a null value removes the key/value pair.</value>
<remarks>
Expand All @@ -1142,8 +1142,10 @@ builder2.EquivalentTo(builder3) = False
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">
The value for <paramref name="keyword" /> has not been set in the collection.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
<paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
<exception cref="T:System.NotSupportedException">The property is set, and the <see cref="T:System.Data.Common.DbConnectionStringBuilder" /> is read-only.

-or-
Expand Down

0 comments on commit 9c12756

Please sign in to comment.