如何使用用户定义的功能 [英] How to use user-defined function

查看:103
本文介绍了如何使用用户定义的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个界面,我希望用户在 中定义界面方法实施,每次创建一个新课程,我想知道如何 存储,读取和使用类,以及功能;我想将类内容存储在数据库中,但
下一步该怎么做。
I have a interface,and I want the user to define the interface method in  implement,and each time a new class is created, I wanna know how  to store,read,and use the class,and the function; I suppose to store the class content in database,but dont't what to do next.

推荐答案

Hello Brandnewly UWP开发人员,

Hello Brandnewly UWP developer,

>>"我想知道如何 存储,阅读和使用该类,以及功能"

>>" I wanna know how  to store,read,and use the class,and the function"

实际上,我不确定你对"存储,阅读"的意思。在我看来,您的自定义类实现了接口实现接口定义中指定的接口成员。当您实例化一个对象时,您可以直接调用它的方法

Actually, I’m not sure what you meant about "store,read". In my mind, your custom class implements the interface implement the members of the interface that are specified in the interface definition. When you instantiate an object, you can call its method directly.

>>"我想将类内容存储在数据库中,但是不能做什么。"

>>" I suppose to store the class content in database,but dont't what to do next."

在UWP中,你可以在sqlite中存储数据。请阅读
使用SQLite在通用Windows平台上
了解更多详情。 

In UWP, you could store data in sqlite. Please read Using SQLite on the Universal Windows Platform for more details. 

此外,请阅读粘贴帖子,尤其是
发布指南:主题行标签

Windows 10 SDK和工具的已知问题 
 并自行为标题添加标记。

In addition, Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools  and add tag to title yourself.

最诚挚的问候,

Xavier Eoro

Xavier Eoro


这篇关于如何使用用户定义的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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