.xaml和.cs ...序列化中的代码 [英] code in .xaml and in .cs...serialization

查看:54
本文介绍了.xaml和.cs ...序列化中的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

请,这是我第一次使用  VS,我希望得到一些帮助..我绝对是新手!!

Please, it is my first stick with  VS and I llook for some help..I am the absolute beginner!!!

我正在看这里的代码:

https://blogs.msdn.microsoft.com/bursteg/2009/05/18/xaml-in-net-4-0-serialization-and-deserialization-using-xamlservices/

https://blogs.msdn.microsoft.com/bursteg/2009/05/18/xaml-in-net-4-0-serialization-and-deserialization-using-xamlservices/

我想知道代码的那部分:

and I wonder if that part of the code:

public   class  

public class Book

{

   public   string  名称{& get set ; }

  public string Name { getset; }

   public   int   ISBN {获取 set ; }

  public int ISBN { getset; }

}

推荐答案

也许我在第二个问题中的帖子对这个问题也有帮助:

maybe my post in your second question help also for this question:

https://social.msdn.microsoft.com/Forums/zh-CN/01404125-f170-4686-b527-c62e0453847d/vs-output-file?forum=lightswitch

https://social.msdn.microsoft.com/Forums/en-US/01404125-f170-4686-b527-c62e0453847d/vs-output-file?forum=lightswitch

本文是关于XAML序列化的,而不是关于使用UI创建C#/WPF/XAML应用程序的.

The article is about XAML serialization and not about creating an C#/WPF/XAML application with an UI.Regards,

此致

大卫

 


这篇关于.xaml和.cs ...序列化中的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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