Rewards
Web
Images
Videos
Academic
Dict
Maps
More
Flights
My Bing
Notebook
XmlTextWriter
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
Exceptions
thrown
by the
XmlTextWriter
can
disclose
path
information
that
you
do
not
want
bubbled
up
to
the
application
.
XmlTextWriter
引发
的
异常
可能
会
泄漏
您
不
希望
冒泡
到
应用程序
的
路径
信息
。
XmlTextWriter
yǐn fā
de
yì cháng
kě néng
huì
xiè lòu
nín
bù
xī wàng
mào pào
dào
yìng yòng chéng xù
de
lù jìng
xìn xī
。
msdn2.microsoft.com
2.
XmlTextWriter
also
allows
you to
override
the
current
namespace
declaration
.
XmlTextWriter
还
允许
重写
当前
命名空间
声明
。
XmlTextWriter
hái
yǔn xǔ
chóng xiě
dāng qián
mìng míng kōng jiān
shēng míng
。
technet.microsoft.com
3.
All
XmlWriter
implementations
,
including
XmlTextWriter
,
allow
the
namespace
to be
empty
when
a
prefix
is
supplied
.
在
提供
前缀
时
,
所有
XmlWriter
实现
(
包括
XmlTextWriter
)
均
允许
命名空间
是
空
的
。
zài
tí gōng
qián zhuì
shí
,
suǒ yǒu
XmlWriter
shí xiàn
(
bāo kuò
XmlTextWriter
)
jūn
yǔn xǔ
mìng míng kōng jiān
shì
kōng
de
。
msdn2.microsoft.com
4.
XmlTextWriter
maintains
a
namespace
stack
corresponding
to
all
the
namespaces
defined
in the
current
element
stack
.
XmlTextWriter
维护
与
当前
元素
堆栈
中
定义
的
所有
命名
空间
对应
的
命名
空间
堆栈
。
XmlTextWriter
wéi hù
yǔ
dāng qián
yuán sù
duī zhàn
zhōng
dìng yì
de
suǒ yǒu
mìng míng
kōng jiān
duì yìng
de
mìng míng
kōng jiān
duī zhàn
。
technet.microsoft.com
5.
For
sample
code
that
demonstrates
writing
XML
to
a
file
,
see
XmlTextWriter
.
WriteProcessingInstruction
.
有关
说明
如何
将
XML
写入
文件
的
示例
代码
,
请参见
XmlTextWriter.WriteProcessingInstruction
。
yǒu guān
shuō míng
rú hé
jiāng
XML
xiě rù
wén jiàn
de
shì lì
dài mǎ
,
qǐng cān jiàn
XmlTextWriter.WriteProcessingInstruction
。
msdn2.microsoft.com
6.
The
XmlTextWriter
class
provides
several
methods
that are useful
for
creating
a
report
definition
file
.
XmlTextWriter
类
提供
了
几种
用于
创建
报表
定义
文件
的
方法
。
XmlTextWriter
lèi
tí gōng
le
jǐ zhǒng
yòng yú
chuàng jiàn
bào biǎo
dìng yì
wén jiàn
de
fāng fǎ
。
msdn2.microsoft.com
7.
For
more
information
,
see
Attribute
Namespace
Prefixes
in
the
XmlTextWriter
.
有关
更多
信息
,
请参见
XmlTextWriter
中
的
属性
命名空间
前缀
。
yǒu guān
gèng duō
xìn xī
,
qǐng cān jiàn
XmlTextWriter
zhōng
de
shǔ xìng
mìng míng kōng jiān
qián zhuì
。
msdn2.microsoft.com
8.
The
XmlTextWriter
,
derived
from
the XmlWriter,
writes
XML
to
a
file
,
console
,
stream
,
and
other
output
types
.
从
XmlWriter
派生
的
XmlTextWriter
将
XML
写入
文件
、
控制
台
、
流
和
其他
输出
类型
。
cóng
XmlWriter
pài shēng
de
XmlTextWriter
jiāng
XML
xiě rù
wén jiàn
、
kòng zhì
tái
、
liú
hé
qí tā
shū chū
lèi xíng
。
msdn2.microsoft.com
9.
Creates
an
instance
of
the
XmlTextWriter
, which
takes
a
filename
,
stream
,
or
TextWriter
.
创建
XmlTextWriter
的
一个
实例
,
该
实例
接受
文件名
、
流
或
TextWriter
。
chuàng jiàn
XmlTextWriter
de
yī gè
shí lì
,
gāi
shí lì
jiē shòu
wén jiàn míng
、
liú
huò
TextWriter
。
msdn2.microsoft.com
10.
For
sample
code
that
demonstrates
writing
XML
to
the
console
,
see
XmlTextWriter
.
WriteString
.
有关
说明
如何
将
XML
写
到
控制
台
的
示例
代码
,
请参见
XmlTextWriter.WriteString
。
yǒu guān
shuō míng
rú hé
jiāng
XML
xiě
dào
kòng zhì
tái
de
shì lì
dài mǎ
,
qǐng cān jiàn
XmlTextWriter.WriteString
。
msdn2.microsoft.com
1
2