zoukankan      html  css  js  c++  java
  • 今天写的代码,可惜没有用上,但想想可能以后还能用上吧。

    是关于自定义数据的简单实现,你可以这样使用。
    //define ConnectionString property.
    CustomProperty<string> ConnectionStringProperty =
        
    new CustomProperty<string>("ConnectionStringProperty");
    //create customData
    CustomData data = new CustomData();
    data.SetValue
    <string>(ConnectionStringProperty, "test");
    string v = data.GetValue<string>(ConnectionStringProperty);
    这个代码主要还是演示如何使用DebuggerDisplayDebuggerTypeProxy功能。
    详细的代码如下:
    CustomProperty

    CustomData
  • 相关阅读:
    canvas直线学习
    移动端页面练习
    IOS 本地推送(UILocalNotification)
    IOS 社交分享
    IOS 通讯录 (访问,添加,修改)
    IOS 蓝牙(GameKit、Core Bluetooth)
    IOS 获取更多的设备信息
    IOS 摇一摇的方法
    IOS Core Motion、UIAccelerometer(加速计使用)
    IOS UIDevice距离传感器(打开 关闭)
  • 原文地址:https://www.cnblogs.com/tansm/p/1099151.html
Copyright © 2011-2022 走看看