XmlNodeReader 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 있는 XML 데이터에 XmlNode대한 빠른 캐시가 아닌 전달 전용 액세스를 제공하는 판독기를 나타냅니다.
public ref class XmlNodeReader : System::Xml::XmlReader, System::Xml::IXmlNamespaceResolver
public ref class XmlNodeReader : System::Xml::XmlReader
public class XmlNodeReader : System.Xml.XmlReader, System.Xml.IXmlNamespaceResolver
public class XmlNodeReader : System.Xml.XmlReader
type XmlNodeReader = class
inherit XmlReader
interface IXmlNamespaceResolver
type XmlNodeReader = class
inherit XmlReader
Public Class XmlNodeReader
Inherits XmlReader
Implements IXmlNamespaceResolver
Public Class XmlNodeReader
Inherits XmlReader
- 상속
- 구현
예제
다음 예제에서는 XML 파일이 XML 문서에 로드되고 수정됩니다. XML 문서가 전달되고 XmlNodeReader메서드에 XmlReader.Create 전달됩니다. 유효성 검사 판독기에서 파일을 구문 분석할 때 XML 파일에 대한 변경 내용의 유효성을 검사할 수 있습니다.
using System;
using System.Xml;
using System.Xml.Schema;
using System.IO;
public class Sample {
public static void Main() {
// Create and load the XML document.
XmlDocument doc = new XmlDocument();
doc.Load("booksSchema.xml");
// Make changes to the document.
XmlElement book = (XmlElement) doc.DocumentElement.FirstChild;
book.SetAttribute("publisher", "Worldwide Publishing");
// Create an XmlNodeReader using the XML document.
XmlNodeReader nodeReader = new XmlNodeReader(doc);
// Set the validation settings on the XmlReaderSettings object.
XmlReaderSettings settings = new XmlReaderSettings();
settings.ValidationType = ValidationType.Schema;
settings.Schemas.Add("urn:bookstore-schema", "books.xsd");
settings.ValidationEventHandler += new ValidationEventHandler (ValidationCallBack);
// Create a validating reader that wraps the XmlNodeReader object.
XmlReader reader = XmlReader.Create(nodeReader, settings);
// Parse the XML file.
while (reader.Read());
}
// Display any validation errors.
private static void ValidationCallBack(object sender, ValidationEventArgs e) {
Console.WriteLine("Validation Error: {0}", e.Message);
}
}
Imports System.Xml
Imports System.Xml.Schema
Imports System.IO
public class Sample
public shared sub Main()
' Create and load the XML document.
Dim doc as XmlDocument = new XmlDocument()
doc.Load("booksSchema.xml")
' Make changes to the document.
Dim book as XmlElement
book = CType(doc.DocumentElement.FirstChild, XmlElement)
book.SetAttribute("publisher", "Worldwide Publishing")
' Create an XmlNodeReader using the XML document.
Dim nodeReader as XmlNodeReader = new XmlNodeReader(doc)
' Set the validation settings on the XmlReaderSettings object.
Dim settings as XmlReaderSettings = new XmlReaderSettings()
settings.ValidationType = ValidationType.Schema
settings.Schemas.Add("urn:bookstore-schema", "books.xsd")
AddHandler settings.ValidationEventHandler, AddressOf ValidationCallBack
' Create a validating reader that wraps the XmlNodeReader object.
Dim reader as XmlReader = XmlReader.Create(nodeReader,settings)
' Parse the XML file.
while (reader.Read())
end while
end sub
' Display any validation errors.
private shared sub ValidationCallBack(sender as object, e as ValidationEventArgs)
Console.WriteLine("Validation Error: {0}", e.Message)
end sub
end class
다음 두 개의 XML 파일이 입력으로 사용됩니다.
<?xml version='1.0'?>
<bookstore xmlns="urn:bookstore-schema">
<book genre="autobiography">
<title>The Autobiography of Benjamin Franklin</title>
<author>
<first-name>Benjamin</first-name>
<last-name>Franklin</last-name>
</author>
<price>8.99</price>
</book>
<book genre="novel">
<title>The Confidence Man</title>
<author>
<first-name>Herman</first-name>
<last-name>Melville</last-name>
</author>
<price>11.99</price>
</book>
</bookstore>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:bookstore-schema"
elementFormDefault="qualified"
targetNamespace="urn:bookstore-schema">
<xsd:element name="bookstore" type="bookstoreType"/>
<xsd:complexType name="bookstoreType">
<xsd:sequence maxOccurs="unbounded">
<xsd:element name="book" type="bookType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="bookType">
<xsd:sequence>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="author" type="authorName"/>
<xsd:element name="price" type="xsd:decimal"/>
</xsd:sequence>
<xsd:attribute name="genre" type="xsd:string"/>
</xsd:complexType>
<xsd:complexType name="authorName">
<xsd:sequence>
<xsd:element name="first-name" type="xsd:string"/>
<xsd:element name="last-name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
출력:
유효성 검사 오류: 'publisher' 특성이 선언되지 않았습니다.
설명
메모
클래스와 XmlNodeReader 메서드를 XmlReader사용하여 XmlReaderSettings 인스턴스를 만드는 Create 것이 좋습니다. 이렇게 하면 규칙 검사 및 XML 1.0 권장 사항 준수를 활용할 수 있습니다.
XML XmlNodeReader DOM 하위 트리를 읽을 수 있습니다. 이 클래스는 DTD(문서 형식 정의) 또는 스키마 유효성 검사를 지원하지 않습니다. 그러나 예제 섹션에 표시된 것처럼 개체를 둘러싸 XmlReader 는 개체를 만들어 XmlNodeReader 개체에 XmlNodeReader 저장된 데이터의 유효성을 검사할 수 있습니다.
생성자
| Name | Description |
|---|---|
| XmlNodeReader(XmlNode) |
지정된 을 |
속성
| Name | Description |
|---|---|
| AttributeCount |
현재 노드의 특성 수를 가져옵니다. |
| BaseURI |
현재 노드의 기본 URI를 가져옵니다. |
| CanReadBinaryContent |
이진 콘텐츠 읽기 메서드를 XmlNodeReader 구현하는지 여부를 나타내는 값을 가져옵니다. |
| CanReadValueChunk |
메서드를 구현하는지 여부를 XmlReader 나타내는 값을 가져옵니다 ReadValueChunk(Char[], Int32, Int32) . (다음에서 상속됨 XmlReader) |
| CanResolveEntity |
이 판독기가 엔터티를 구문 분석하고 확인할 수 있는지 여부를 나타내는 값을 가져옵니다. |
| Depth |
XML 문서에서 현재 노드의 깊이를 가져옵니다. |
| EOF |
판독기가 스트림의 끝에 배치되는지 여부를 나타내는 값을 가져옵니다. |
| HasAttributes |
현재 노드에 특성이 있는지 여부를 나타내는 값을 가져옵니다. |
| HasValue |
현재 노드에 .가 있을 수 Value있는지 여부를 나타내는 값을 가져옵니다. |
| IsDefault |
현재 노드가 DTD(문서 형식 정의) 또는 스키마에 정의된 기본값에서 생성된 특성인지 여부를 나타내는 값을 가져옵니다. |
| IsEmptyElement |
현재 노드가 빈 요소(예 |
| Item[Int32] |
지정된 인덱스가 있는 특성의 값을 가져옵니다. |
| Item[Int32] |
파생 클래스에서 재정의되는 경우 지정된 인덱스가 있는 특성의 값을 가져옵니다. (다음에서 상속됨 XmlReader) |
| Item[String, String] |
지정된 로컬 이름 및 네임스페이스 URI를 사용하여 특성의 값을 가져옵니다. |
| Item[String, String] |
파생 클래스에서 재정의되는 경우 지정된 LocalName 특성과 NamespaceURI. (다음에서 상속됨 XmlReader) |
| Item[String] |
파생 클래스에서 재정의되는 경우 지정된 이름의 특성 값을 가져옵니다. |
| Item[String] |
파생 클래스에서 재정의되는 경우 지정된 Name특성의 값을 가져옵니다. (다음에서 상속됨 XmlReader) |
| LocalName |
현재 노드의 로컬 이름을 가져옵니다. |
| Name |
현재 노드의 정규화된 이름을 가져옵니다. |
| NamespaceURI |
판독기를 배치할 노드의 네임스페이스 URI(W3C 네임스페이스 사양에 정의된 대로)를 가져옵니다. |
| NameTable |
XmlNameTable 이 구현과 연결된 값을 가져옵니다. |
| NodeType |
현재 노드의 형식을 가져옵니다. |
| Prefix |
현재 노드와 연결된 네임스페이스 접두사를 가져옵니다. |
| QuoteChar |
특성 노드의 값을 묶는 데 사용되는 따옴표 문자를 가져옵니다. |
| QuoteChar |
파생 클래스에서 재정의되는 경우 특성 노드의 값을 묶는 데 사용되는 따옴표 문자를 가져옵니다. (다음에서 상속됨 XmlReader) |
| ReadState |
판독기의 상태를 가져옵니다. |
| SchemaInfo |
현재 노드에 할당된 스키마 정보를 가져옵니다. |
| Settings |
이 XmlReaderSettings 인스턴스를 XmlReader 만드는 데 사용되는 개체를 가져옵니다. (다음에서 상속됨 XmlReader) |
| Value |
현재 노드의 텍스트 값을 가져옵니다. |
| ValueType |
현재 노드의 CLR(공용 언어 런타임) 형식을 가져옵니다. (다음에서 상속됨 XmlReader) |
| XmlLang |
현재 |
| XmlSpace |
현재 |
메서드
| Name | Description |
|---|---|
| Close() |
를 변경합니다 ReadState |
| Dispose() |
XmlReader 클래스의 현재 인스턴스에서 사용하는 모든 리소스를 해제합니다. (다음에서 상속됨 XmlReader) |
| Dispose(Boolean) |
관리되지 않는 리소스를 XmlReader 해제하고 관리되는 리소스를 선택적으로 해제합니다. (다음에서 상속됨 XmlReader) |
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetAttribute(Int32) |
지정된 인덱스가 있는 특성의 값을 가져옵니다. |
| GetAttribute(String, String) |
지정된 로컬 이름 및 네임스페이스 URI를 사용하여 특성의 값을 가져옵니다. |
| GetAttribute(String) |
지정된 이름을 가진 특성의 값을 가져옵니다. |
| GetHashCode() |
기본 해시 함수로 사용됩니다. (다음에서 상속됨 Object) |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| GetValueAsync() |
현재 노드의 값을 비동기적으로 가져옵니다. (다음에서 상속됨 XmlReader) |
| IsStartElement() |
현재 콘텐츠 노드가 시작 태그인지 빈 요소 태그인지를 호출 MoveToContent() 하고 테스트합니다. (다음에서 상속됨 XmlReader) |
| IsStartElement(String, String) |
현재 콘텐츠 노드가 시작 태그인지 빈 요소 태그인지, 찾은 요소의 속성이 지정된 문자열과 일치하는지 MoveToContent() 여부를 호출 LocalName 하고 NamespaceURI 테스트합니다. (다음에서 상속됨 XmlReader) |
| IsStartElement(String) |
현재 콘텐츠 노드가 시작 태그인지 빈 요소 태그인지, 찾은 요소의 속성이 지정된 인수와 일치하는지 MoveToContent() 여부를 호출 Name 하고 테스트합니다. (다음에서 상속됨 XmlReader) |
| LookupNamespace(String) |
현재 요소의 범위에서 네임스페이스 접두사를 확인합니다. |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| MoveToAttribute(Int32) |
지정된 인덱스가 있는 특성으로 이동합니다. |
| MoveToAttribute(String, String) |
지정된 로컬 이름 및 네임스페이스 URI를 사용하여 특성으로 이동합니다. |
| MoveToAttribute(String) |
지정된 이름을 가진 특성으로 이동합니다. |
| MoveToContent() |
현재 노드가 콘텐츠(공백이 아닌 텍스트, |
| MoveToContentAsync() |
현재 노드가 콘텐츠 노드인지 여부를 비동기적으로 확인합니다. 노드가 콘텐츠 노드가 아닌 경우 판독기는 다음 콘텐츠 노드 또는 파일 끝으로 건너뜁니다. (다음에서 상속됨 XmlReader) |
| MoveToElement() |
현재 특성 노드가 포함된 요소로 이동합니다. |
| MoveToFirstAttribute() |
첫 번째 특성으로 이동합니다. |
| MoveToNextAttribute() |
다음 특성으로 이동합니다. |
| Read() |
스트림에서 다음 노드를 읽습니다. |
| ReadAsync() |
스트림에서 다음 노드를 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadAttributeValue() |
특성 값을 하나 이상의 |
| ReadContentAs(Type, IXmlNamespaceResolver) |
지정된 형식의 개체로 콘텐츠를 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsAsync(Type, IXmlNamespaceResolver) |
콘텐츠를 지정된 형식의 개체로 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsBase64(Byte[], Int32, Int32) |
콘텐츠를 읽고 Base64 디코딩된 이진 바이트를 반환합니다. |
| ReadContentAsBase64Async(Byte[], Int32, Int32) |
콘텐츠를 비동기적으로 읽고 Base64 디코딩된 이진 바이트를 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsBinHex(Byte[], Int32, Int32) |
콘텐츠를 읽고 BinHex 디코딩된 이진 바이트를 반환합니다. |
| ReadContentAsBinHexAsync(Byte[], Int32, Int32) |
콘텐츠를 비동기적으로 읽고 디코딩된 이진 바이트를 반환 |
| ReadContentAsBoolean() |
현재 위치의 텍스트 내용을 .로 |
| ReadContentAsDateTime() |
현재 위치에서 텍스트 콘텐츠를 개체로 DateTime 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsDateTimeOffset() |
현재 위치에서 텍스트 콘텐츠를 개체로 DateTimeOffset 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsDecimal() |
현재 위치에서 텍스트 콘텐츠를 개체로 Decimal 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsDouble() |
현재 위치에서 텍스트 내용을 배정밀도 부동 소수점 숫자로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsFloat() |
현재 위치에서 텍스트 내용을 단정밀도 부동 소수점 숫자로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsInt() |
현재 위치에서 텍스트 콘텐츠를 32비트 부가 정수로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsLong() |
현재 위치의 텍스트 내용을 64비트 부가 정수로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsObject() |
현재 위치에 있는 텍스트 내용을 로 읽습니다 Object. (다음에서 상속됨 XmlReader) |
| ReadContentAsObjectAsync() |
현재 위치에서 Object텍스트 콘텐츠를 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsString() |
현재 위치에서 텍스트 콘텐츠를 개체로 String 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadContentAsStringAsync() |
현재 위치에 있는 텍스트 콘텐츠를 개체로 String 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAs(Type, IXmlNamespaceResolver, String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음 요소 콘텐츠를 요청된 형식으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAs(Type, IXmlNamespaceResolver) |
요소 콘텐츠를 요청된 형식으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsAsync(Type, IXmlNamespaceResolver) |
요소 콘텐츠를 요청된 형식으로 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsBase64(Byte[], Int32, Int32) |
요소를 읽고 Base64 콘텐츠를 디코딩합니다. |
| ReadElementContentAsBase64Async(Byte[], Int32, Int32) |
요소를 비동기적으로 읽고 콘텐츠를 디코딩합니다 |
| ReadElementContentAsBinHex(Byte[], Int32, Int32) |
요소를 읽고 BinHex 콘텐츠를 디코딩합니다. |
| ReadElementContentAsBinHexAsync(Byte[], Int32, Int32) |
요소를 비동기적으로 읽고 콘텐츠를 디코딩합니다 |
| ReadElementContentAsBoolean() |
현재 요소를 읽고 내용을 개체로 Boolean 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsBoolean(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 개체로 Boolean 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDateTime() |
현재 요소를 읽고 내용을 개체로 DateTime 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDateTime(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 개체로 DateTime 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDecimal() |
현재 요소를 읽고 내용을 개체로 Decimal 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDecimal(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 개체로 Decimal 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDouble() |
현재 요소를 읽고 내용을 배정밀도 부동 소수점 숫자로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsDouble(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음 현재 요소를 읽고 내용을 배정밀도 부동 소수점 숫자로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsFloat() |
현재 요소를 읽고 내용을 단정밀도 부동 소수점 숫자로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsFloat(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 단정밀도 부동 소수점 숫자로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsInt() |
현재 요소를 읽고 내용을 32비트 부가 정수로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsInt(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 32비트 부인 정수로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsLong() |
현재 요소를 읽고 내용을 64비트 부가 정수로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsLong(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 64비트 부가 정수로 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsObject() |
현재 요소를 읽고 내용을 |
| ReadElementContentAsObject(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 반환 Object합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsObjectAsync() |
현재 요소를 비동기적으로 읽고 내용을 |
| ReadElementContentAsString() |
현재 요소를 읽고 내용을 개체로 String 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsString(String, String) |
지정된 로컬 이름 및 네임스페이스 URI가 현재 요소의 이름과 일치하는지 확인한 다음, 현재 요소를 읽고 내용을 개체로 String 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementContentAsStringAsync() |
현재 요소를 비동기적으로 읽고 내용을 개체로 String 반환합니다. (다음에서 상속됨 XmlReader) |
| ReadElementString() |
텍스트 전용 요소를 읽습니다. 그러나 이 작업을 처리하는 보다 간단한 방법을 제공하므로 대신 이 메서드를 사용하는 ReadElementContentAsString() 것이 좋습니다. (다음에서 상속됨 XmlReader) |
| ReadElementString(String, String) |
LocalName 텍스트 전용 요소를 읽기 전에 찾은 요소의 속성과 NamespaceURI 지정된 문자열이 일치하는지 확인합니다. 그러나 이 작업을 처리하는 보다 간단한 방법을 제공하므로 대신 이 메서드를 사용하는 ReadElementContentAsString(String, String) 것이 좋습니다. (다음에서 상속됨 XmlReader) |
| ReadElementString(String) |
Name 텍스트 전용 요소를 읽기 전에 찾은 요소의 속성이 지정된 문자열과 일치하는지 확인합니다. 그러나 이 작업을 처리하는 보다 간단한 방법을 제공하므로 대신 이 메서드를 사용하는 ReadElementContentAsString() 것이 좋습니다. (다음에서 상속됨 XmlReader) |
| ReadEndElement() |
현재 콘텐츠 노드가 끝 태그인지 확인하고 판독기를 다음 노드로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadInnerXml() |
파생 클래스에서 재정의된 경우 태그를 포함한 모든 콘텐츠를 문자열로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadInnerXmlAsync() |
태그를 포함한 모든 콘텐츠를 문자열로 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadOuterXml() |
파생 클래스에서 재정의되는 경우 이 노드와 모든 자식을 나타내는 태그를 포함한 콘텐츠를 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadOuterXmlAsync() |
이 노드와 모든 자식을 나타내는 태그를 포함하여 콘텐츠를 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadStartElement() |
현재 노드가 요소인지 확인하고 판독기를 다음 노드로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadStartElement(String, String) |
현재 콘텐츠 노드가 지정된 LocalNameNamespaceURI 요소인지 확인하고 판독기를 다음 노드로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadStartElement(String) |
현재 콘텐츠 노드가 지정된 Name 요소인지 확인하고 판독기를 다음 노드로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadString() |
요소 또는 텍스트 노드의 내용을 문자열로 읽습니다. |
| ReadSubtree() |
현재 노드 및 모든 하위 항목을 읽는 데 사용할 수 있는 새 |
| ReadToDescendant(String, String) |
지정된 로컬 이름 및 네임스페이 XmlReader 스 URI를 사용하여 다음 하위 요소로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadToDescendant(String) |
XmlReader 지정된 정규화된 이름을 사용하여 다음 하위 요소로 진행합니다. (다음에서 상속됨 XmlReader) |
| ReadToFollowing(String, String) |
지정된 로컬 이름 및 네임스페이스 URI를 가진 요소가 발견될 때까지 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadToFollowing(String) |
지정된 정규화된 이름을 가진 요소를 찾을 때까지 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadToNextSibling(String, String) |
지정된 로컬 이름 및 네임스페이 |
| ReadToNextSibling(String) |
|
| ReadValueChunk(Char[], Int32, Int32) |
XML 문서에 포함된 큰 텍스트 스트림을 읽습니다. (다음에서 상속됨 XmlReader) |
| ReadValueChunkAsync(Char[], Int32, Int32) |
XML 문서에 포함된 큰 텍스트 스트림을 비동기적으로 읽습니다. (다음에서 상속됨 XmlReader) |
| ResolveEntity() |
노드에 대한 엔터티 참조를 |
| Skip() |
현재 노드의 자식을 건너뜁니다. |
| SkipAsync() |
현재 노드의 자식을 비동기적으로 건너뜁니다. (다음에서 상속됨 XmlReader) |
| ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |
명시적 인터페이스 구현
| Name | Description |
|---|---|
| IDisposable.Dispose() |
이 멤버에 대한 설명은 을 참조하세요 Dispose(). (다음에서 상속됨 XmlReader) |
| IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope) |
이 멤버에 대한 설명은 을 참조하세요 GetNamespacesInScope(XmlNamespaceScope). |
| IXmlNamespaceResolver.LookupNamespace(String) |
이 멤버에 대한 설명은 을 참조하세요 LookupNamespace(String). |
| IXmlNamespaceResolver.LookupPrefix(String) |
이 멤버에 대한 설명은 을 참조하세요 LookupPrefix(String). |