开发者

What is the VB equivalent of the following code snippet?

XmlWriterSettings settings = new XmlWriterSettings();
    settings.Encoding = Encoding.UTF8;
    settings.Indent = true;
    using (XmlWriter wr开发者_Python百科iter = XmlWriter.Create(stream, settings))


Dim settings As New XmlWriterSettings()
settings.Encoding = Encoding.UTF8
settings.Indent = True
Using writer As XmlWriter = XmlWriter.Create(stream, settings)

End Using

You can use this for conversions:

http://converter.telerik.com/


Dim settings As New XmlWriterSettings()
settings.Encoding = Encoding.UTF8
settings.Indent = True

Not sure on the last line though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜