|
44 | 44 | <Docs> |
45 | 45 | <summary>Collects all errors generated by the <see cref="T:System.Data.Odbc.OdbcDataAdapter" />. This class cannot be inherited.</summary> |
46 | 46 | <remarks> |
47 | | - <format type="text/markdown"><![CDATA[ |
48 | | - |
49 | | -## Remarks |
50 | | - This class is created by <xref:System.Data.Odbc.OdbcException> to collect instances of the <xref:System.Data.Odbc.OdbcError> class. <xref:System.Data.Odbc.OdbcErrorCollection> always contains at least one instance of the <xref:System.Data.Odbc.OdbcError> class. |
51 | | - |
52 | | - |
53 | | - |
54 | | -## Examples |
55 | | - The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection>. |
56 | | - |
| 47 | + <format type="text/markdown"><![CDATA[ |
| 48 | +
|
| 49 | +## Remarks |
| 50 | + This class is created by <xref:System.Data.Odbc.OdbcException> to collect instances of the <xref:System.Data.Odbc.OdbcError> class. <xref:System.Data.Odbc.OdbcErrorCollection> always contains at least one instance of the <xref:System.Data.Odbc.OdbcError> class. |
| 51 | +
|
| 52 | +
|
| 53 | +
|
| 54 | +## Examples |
| 55 | + The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection>. |
| 56 | +
|
57 | 57 | :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/CS/source.cs" id="Snippet1"::: |
58 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
59 | | - |
| 58 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
| 59 | +
|
60 | 60 | ]]></format> |
61 | 61 | </remarks> |
62 | 62 | <related type="Article" href="/dotnet/standard/exceptions/">Handling and throwing exceptions in .NET</related> |
|
105 | 105 | <param name="i">The starting index of <paramref name="array" />.</param> |
106 | 106 | <summary>Copies the elements of the <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> into an array, starting at the specified index within the array.</summary> |
107 | 107 | <remarks> |
108 | | - <format type="text/markdown"><![CDATA[ |
109 | | - |
110 | | -## Examples |
111 | | - The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection> collection. |
112 | | - |
| 108 | + <format type="text/markdown"><![CDATA[ |
| 109 | +
|
| 110 | +## Examples |
| 111 | + The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection> collection. |
| 112 | +
|
113 | 113 | :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/CS/source.cs" id="Snippet1"::: |
114 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
115 | | - |
| 114 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
| 115 | +
|
116 | 116 | ]]></format> |
117 | 117 | </remarks> |
118 | | - <exception cref="T:System.ArgumentException">The sum of <paramref name="index" /> and the number of elements in the <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> is greater than the length of the array.</exception> |
| 118 | + <exception cref="T:System.ArgumentException">The sum of <paramref name="i" /> and the number of elements in the <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> is greater than the length of the array.</exception> |
119 | 119 | <exception cref="T:System.ArgumentNullException">The <paramref name="array" /> is <see langword="null" />.</exception> |
120 | | - <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="index" /> is not valid for <paramref name="array" />.</exception> |
| 120 | + <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="i" /> is not valid for <paramref name="array" />.</exception> |
121 | 121 | <related type="Article" href="/dotnet/standard/exceptions/">Handling and throwing exceptions in .NET</related> |
122 | 122 | </Docs> |
123 | 123 | </Member> |
|
150 | 150 | <param name="i">A 32-bit integer that represents the index in the <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> at which copying starts.</param> |
151 | 151 | <summary>Copies all the elements of the current <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> to the specified <see cref="T:System.Data.Odbc.OdbcErrorCollection" /> starting at the specified destination index.</summary> |
152 | 152 | <remarks> |
153 | | - <format type="text/markdown"><![CDATA[ |
154 | | - |
155 | | -## Examples |
156 | | - The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection> collection. |
157 | | - |
| 153 | + <format type="text/markdown"><![CDATA[ |
| 154 | +
|
| 155 | +## Examples |
| 156 | + The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection> collection. |
| 157 | +
|
158 | 158 | :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/CS/source.cs" id="Snippet1"::: |
159 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
160 | | - |
| 159 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
| 160 | +
|
161 | 161 | ]]></format> |
162 | 162 | </remarks> |
163 | 163 | <related type="Article" href="/dotnet/standard/exceptions/">Handling and throwing exceptions in .NET</related> |
|
191 | 191 | <summary>Gets the number of errors in the collection.</summary> |
192 | 192 | <value>The total number of errors in the collection.</value> |
193 | 193 | <remarks> |
194 | | - <format type="text/markdown"><![CDATA[ |
195 | | - |
196 | | -## Examples |
197 | | - The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection>. |
198 | | - |
| 194 | + <format type="text/markdown"><![CDATA[ |
| 195 | +
|
| 196 | +## Examples |
| 197 | + The following example displays each <xref:System.Data.Odbc.OdbcError> within the <xref:System.Data.Odbc.OdbcErrorCollection>. |
| 198 | +
|
199 | 199 | :::code language="csharp" source="~/snippets/csharp/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/CS/source.cs" id="Snippet1"::: |
200 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
201 | | - |
| 200 | + :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_ADO.NET/Classic WebData OdbcError.Message/VB/source.vb" id="Snippet1"::: |
| 201 | +
|
202 | 202 | ]]></format> |
203 | 203 | </remarks> |
204 | 204 | <related type="Article" href="/dotnet/standard/exceptions/">Handling and throwing exceptions in .NET</related> |
|
295 | 295 | <value> |
296 | 296 | <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</value> |
297 | 297 | <remarks> |
298 | | - <format type="text/markdown"><![CDATA[ |
299 | | - |
300 | | -## Remarks |
301 | | - This member is an explicit interface member implementation. It can be used only when the <xref:System.Data.Odbc.OdbcErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface. |
302 | | - |
| 298 | + <format type="text/markdown"><![CDATA[ |
| 299 | +
|
| 300 | +## Remarks |
| 301 | + This member is an explicit interface member implementation. It can be used only when the <xref:System.Data.Odbc.OdbcErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface. |
| 302 | +
|
303 | 303 | ]]></format> |
304 | 304 | </remarks> |
305 | 305 | </Docs> |
|
331 | 331 | <summary>For a description of this member, see <see cref="P:System.Collections.ICollection.SyncRoot" />.</summary> |
332 | 332 | <value>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</value> |
333 | 333 | <remarks> |
334 | | - <format type="text/markdown"><![CDATA[ |
335 | | - |
336 | | -## Remarks |
337 | | - This member is an explicit interface member implementation. It can be used only when the <xref:System.Data.Odbc.OdbcErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface. |
338 | | - |
| 334 | + <format type="text/markdown"><![CDATA[ |
| 335 | +
|
| 336 | +## Remarks |
| 337 | + This member is an explicit interface member implementation. It can be used only when the <xref:System.Data.Odbc.OdbcErrorCollection> instance is cast to an <xref:System.Collections.ICollection> interface. |
| 338 | +
|
339 | 339 | ]]></format> |
340 | 340 | </remarks> |
341 | 341 | </Docs> |
|
0 commit comments