Skip to content

Commit 20e9ae3

Browse files
mairawThraka
authored andcommitted
document createsqlreader (#15236)
* document createsqlreader * feedback * add missing param type * Update toc.yml
1 parent 092d716 commit 20e9ae3

File tree

3 files changed

+61
-1
lines changed

3 files changed

+61
-1
lines changed

docs/framework/additional-apis/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Additional class libraries and APIs"
3-
ms.date: "10/09/2019"
3+
ms.date: "10/17/2019"
44
helpviewer_keywords:
55
- "Additional class libraries"
66
- "Additional managed libraries"
@@ -66,6 +66,7 @@ These APIs support the product infrastructure and are not intended/supported to
6666
* [System.Windows.Diagnostics.VisualDiagnostics.s\_isDebuggerCheckDisabledForTestPurposes Field](s-isdebuggercheckdisabledfortestpurposes-field.md)
6767
* [System.Windows.Forms.Design.DataMemberFieldEditor Class](datamemberfieldeditor-class.md)
6868
* [System.Windows.Forms.Design.DataMemberListEditor Class](datamemberlisteditor-class.md)
69+
* [System.Xml.XmlReader.CreateSqlReader Method](system.xml.xmlreader.createsqlreader.md)
6970
* [adodb.Connection Interface](adodb.connection.md)
7071
* [adodb.EventReason Enum](adodb.eventreasonenum.md)
7172
* [adodb.EventStatus Enum](adodb.eventstatusenum.md)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: XmlReader.CreateSqlReader Method (System.Xml)
3+
author: mairaw
4+
ms.author: mairaw
5+
ms.date: 10/17/2019
6+
topic_type:
7+
- "apiref"
8+
api_name:
9+
- "System.Xml.XmlReader.CreateSqlReader"
10+
api_location:
11+
- "system.xml.dll"
12+
api_type:
13+
- "Assembly"
14+
---
15+
# XmlReader.CreateSqlReader Method
16+
17+
Creates a new <xref:System.Xml.XmlReader> instance using the specified stream, settings, and context information for parsing.
18+
19+
```csharp
20+
internal static XmlReader CreateSqlReader(Stream input,
21+
XmlReaderSettings settings, XmlParserContext inputContext)
22+
```
23+
24+
## Parameters
25+
26+
- `input` <xref:System.IO.Stream>
27+
The stream that contains the XML data.
28+
29+
- `settings` <xref:System.Xml.XmlReaderSettings>
30+
The settings for the new <xref:System.Xml.XmlReader> instance. This value can be `null`.
31+
32+
- `inputContext` <xref:System.Xml.XmlParserContext>
33+
The context information required to parse the XML fragment. This value can be `null`.
34+
35+
## Returns
36+
37+
<xref:System.Xml.XmlReader>
38+
An object that is used to read the XML data in the stream.
39+
40+
## Remarks
41+
42+
> [!WARNING]
43+
> The `XmlReader.CreateSqlReader` method is internal and is not meant to be used directly in your code.
44+
>
45+
> Microsoft does not support the use of this method in a production application under any circumstance.
46+
47+
## Requirements
48+
49+
**Namespace:** <xref:System.Xml>
50+
51+
**Assembly:** System.Xml.dll
52+
53+
**.NET Framework versions:** Available since 2.0.

docs/framework/additional-apis/toc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@
106106
href: xpsdocumentwriter-writingcompleted-event-system-windows-xps.md
107107
- name: _WritingProgressChanged
108108
href: xpsdocumentwriter-writingprogresschanged-event-system-windows-xps.md
109+
- name: System.Xml
110+
items:
111+
- name: XmlReader Class
112+
items:
113+
- name: XmlReader.CreateSqlReader Method
114+
href: system.xml.xmlreader.createsqlreader.md
109115
- name: adodb Namespace
110116
items:
111117
- name: Connection Interface

0 commit comments

Comments
 (0)