IXmlTextWriterInitializer.SetOutput(Stream, Encoding, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies initialization requirements for XML text writers that implement this method.
public:
void SetOutput(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, bool ownsStream);
public void SetOutput (System.IO.Stream stream, System.Text.Encoding encoding, bool ownsStream);
abstract member SetOutput : System.IO.Stream * System.Text.Encoding * bool -> unit
Public Sub SetOutput (stream As Stream, encoding As Encoding, ownsStream As Boolean)
Parameters
- stream
- Stream
The stream to write to.
- encoding
- Encoding
The character encoding of the stream.
- ownsStream
- Boolean
true
to indicate the stream is closed by the writer when done; otherwise, false
.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.