单项选择题

在XmlSerializer的方法中,向xml文件中写一个开始标签的方法是()。

A.startDocument
B.startTag
C.endTag
D.endDocument