C#序列化类到xsd [英] C# serializable classes to xsd

查看:147
本文介绍了C#序列化类到xsd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有来自serialisable的C#类允许输出XML模式(XSD)的一种方式?我有看有关Web但林不知道IM寻找合适的东西。

Is there a way of outputing xml schemas (xsd) from serialisable c# classes? I have had a look about the web but im not sure im searching for the right stuff.

感谢

推荐答案

您正在寻找XSD.EXE HTTP ://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx

You're looking for XSD.exe http://msdn.microsoft.com/en-us/library/x6c1kb0s.aspx

在一个.dll点它并为它会产生你的架构类。

Point it at a .dll and it will generate schemas for your classes.

这篇关于C#序列化类到xsd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆