Share via


XmlSchema.Read 메서드

정의

XML 스키마를 읽습니다.

오버로드

Read(Stream, ValidationEventHandler)

제공된 스트림에서 XML 스키마를 읽습니다.

Read(TextReader, ValidationEventHandler)

제공된 TextReader에서 XML 스키마를 읽습니다.

Read(XmlReader, ValidationEventHandler)

제공된 XmlReader에서 XML 스키마를 읽습니다.

Read(Stream, ValidationEventHandler)

제공된 스트림에서 XML 스키마를 읽습니다.

public:
 static System::Xml::Schema::XmlSchema ^ Read(System::IO::Stream ^ stream, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Xml.Schema.XmlSchema? Read (System.IO.Stream stream, System.Xml.Schema.ValidationEventHandler? validationEventHandler);
public static System.Xml.Schema.XmlSchema Read (System.IO.Stream stream, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.IO.Stream * System.Xml.Schema.ValidationEventHandler -> System.Xml.Schema.XmlSchema
Public Shared Function Read (stream As Stream, validationEventHandler As ValidationEventHandler) As XmlSchema

매개 변수

stream
Stream

제공된 데이터 스트림입니다.

validationEventHandler
ValidationEventHandler

XML 스키마 구문 오류에 대한 정보를 수신하는 유효성 검사 이벤트 처리기입니다.

반환

XmlSchema

XML 스키마를 나타내는 XmlSchema 개체입니다.

예외

XmlSchemaException를 지정하지 않으면 ValidationEventHandler이 발생합니다.

적용 대상

Read(TextReader, ValidationEventHandler)

제공된 TextReader에서 XML 스키마를 읽습니다.

public:
 static System::Xml::Schema::XmlSchema ^ Read(System::IO::TextReader ^ reader, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Xml.Schema.XmlSchema? Read (System.IO.TextReader reader, System.Xml.Schema.ValidationEventHandler? validationEventHandler);
public static System.Xml.Schema.XmlSchema Read (System.IO.TextReader reader, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.IO.TextReader * System.Xml.Schema.ValidationEventHandler -> System.Xml.Schema.XmlSchema
Public Shared Function Read (reader As TextReader, validationEventHandler As ValidationEventHandler) As XmlSchema

매개 변수

reader
TextReader

읽을 XML 스키마를 포함하는 TextReader입니다.

validationEventHandler
ValidationEventHandler

XML 스키마 구문 오류에 대한 정보를 수신하는 유효성 검사 이벤트 처리기입니다.

반환

XmlSchema

XML 스키마를 나타내는 XmlSchema 개체입니다.

예외

XmlSchemaException를 지정하지 않으면 ValidationEventHandler이 발생합니다.

적용 대상

Read(XmlReader, ValidationEventHandler)

제공된 XmlReader에서 XML 스키마를 읽습니다.

public:
 static System::Xml::Schema::XmlSchema ^ Read(System::Xml::XmlReader ^ reader, System::Xml::Schema::ValidationEventHandler ^ validationEventHandler);
public static System.Xml.Schema.XmlSchema? Read (System.Xml.XmlReader reader, System.Xml.Schema.ValidationEventHandler? validationEventHandler);
public static System.Xml.Schema.XmlSchema Read (System.Xml.XmlReader reader, System.Xml.Schema.ValidationEventHandler validationEventHandler);
static member Read : System.Xml.XmlReader * System.Xml.Schema.ValidationEventHandler -> System.Xml.Schema.XmlSchema
Public Shared Function Read (reader As XmlReader, validationEventHandler As ValidationEventHandler) As XmlSchema

매개 변수

reader
XmlReader

읽을 XML 스키마를 포함하는 XmlReader입니다.

validationEventHandler
ValidationEventHandler

XML 스키마 구문 오류에 대한 정보를 수신하는 유효성 검사 이벤트 처리기입니다.

반환

XmlSchema

XML 스키마를 나타내는 XmlSchema 개체입니다.

예외

XmlSchemaException를 지정하지 않으면 ValidationEventHandler이 발생합니다.

적용 대상