XmlSerializerOutputFormatter.CreateXmlWriter 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
CreateXmlWriter(TextWriter, XmlWriterSettings) |
지정된 TextWriter 및 XmlWriterSettings를 사용하여 의 XmlWriter 새 instance 만듭니다. |
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings) |
지정된 TextWriter 및 XmlWriterSettings를 사용하여 의 XmlWriter 새 instance 만듭니다. |
CreateXmlWriter(TextWriter, XmlWriterSettings)
지정된 TextWriter 및 XmlWriterSettings를 사용하여 의 XmlWriter 새 instance 만듭니다.
public:
virtual System::Xml::XmlWriter ^ CreateXmlWriter(System::IO::TextWriter ^ writer, System::Xml::XmlWriterSettings ^ xmlWriterSettings);
public virtual System.Xml.XmlWriter CreateXmlWriter (System.IO.TextWriter writer, System.Xml.XmlWriterSettings xmlWriterSettings);
abstract member CreateXmlWriter : System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
override this.CreateXmlWriter : System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
Public Overridable Function CreateXmlWriter (writer As TextWriter, xmlWriterSettings As XmlWriterSettings) As XmlWriter
매개 변수
- writer
- TextWriter
에 기록해야 하는 XmlWriter 기본 TextWriter 입니다.
- xmlWriterSettings
- XmlWriterSettings
반환
XmlWriter의 새 인스턴스입니다.
적용 대상
CreateXmlWriter(OutputFormatterWriteContext, TextWriter, XmlWriterSettings)
지정된 TextWriter 및 XmlWriterSettings를 사용하여 의 XmlWriter 새 instance 만듭니다.
public:
virtual System::Xml::XmlWriter ^ CreateXmlWriter(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context, System::IO::TextWriter ^ writer, System::Xml::XmlWriterSettings ^ xmlWriterSettings);
public virtual System.Xml.XmlWriter CreateXmlWriter (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context, System.IO.TextWriter writer, System.Xml.XmlWriterSettings xmlWriterSettings);
abstract member CreateXmlWriter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext * System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
override this.CreateXmlWriter : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext * System.IO.TextWriter * System.Xml.XmlWriterSettings -> System.Xml.XmlWriter
Public Overridable Function CreateXmlWriter (context As OutputFormatterWriteContext, writer As TextWriter, xmlWriterSettings As XmlWriterSettings) As XmlWriter
매개 변수
- context
- OutputFormatterWriteContext
호출과 연결된 포맷터 컨텍스트입니다.
- writer
- TextWriter
에 기록해야 하는 XmlWriter 기본 TextWriter 입니다.
- xmlWriterSettings
- XmlWriterSettings
반환
의 새 instanceXmlWriter