//将文件读出,生成Stream对象
System.IO.FileStream myStream = new System.IO.FileStream("c//test.xsd",System.IO.FileMode.OpenOrCreate);
//生成Schema对象
System.Xml.Schema.XmlSchema mySchema = System.Xml.Schema.XmlSchema.Read(myStream,null)
博客展示了一段代码,通过将文件读出生成Stream对象,代码为System.IO.FileStream myStream = new System.IO.FileStream(\c//test.xsd\System.IO.FileMode.OpenOrCreate);还展示了生成Schema对象的代码,即System.Xml.Schema.XmlSchema mySchema = System.Xml.Schema.XmlSchema.Read(myStream,null)。
//将文件读出,生成Stream对象
System.IO.FileStream myStream = new System.IO.FileStream("c//test.xsd",System.IO.FileMode.OpenOrCreate);
//生成Schema对象
System.Xml.Schema.XmlSchema mySchema = System.Xml.Schema.XmlSchema.Read(myStream,null)
7565

被折叠的 条评论
为什么被折叠?