Skip to content

Commit 9c12756

Browse files
authored
Corrected description for indexer
1 parent 75d9d50 commit 9c12756

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

xml/System.Data.Common/DbConnectionStringBuilder.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ builder2.EquivalentTo(builder3) = False
11231123
<Docs>
11241124
<param name="keyword">The key of the item to get or set.</param>
11251125
<summary>Gets or sets the value associated with the specified key.</summary>
1126-
<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.
1126+
<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.
11271127

11281128
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>
11291129
<remarks>
@@ -1142,8 +1142,10 @@ builder2.EquivalentTo(builder3) = False
11421142
11431143
]]></format>
11441144
</remarks>
1145+
<exception cref="T:System.ArgumentException">
1146+
The value for <paramref name="keyword" /> has not been set in the collection.</exception>
11451147
<exception cref="T:System.ArgumentNullException">
1146-
<paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
1148+
<paramref name="keyword" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
11471149
<exception cref="T:System.NotSupportedException">The property is set, and the <see cref="T:System.Data.Common.DbConnectionStringBuilder" /> is read-only.
11481150

11491151
-or-

0 commit comments

Comments
 (0)