private void InitGPIO(); [英] private void InitGPIO();

查看:66
本文介绍了private void InitGPIO();的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi

我的visual studio不接受"  private void InitGPIO();"告诉修饰语"私人"对于此项目以及InitGPIO()无效;是一个必须有正文的本地函数。

my visual studio doesn't accept " private void InitGPIO();" telling that modifier " private" is not valid for this item and also InitGPIO(); is a local function that must have a body.

我该怎么办?

Ahmad Halimi

Ahmad Halimi

推荐答案

hi

开发Windows 10物联网核心的要求之一是至少知道一个支持的编程语言(主要是C#和C ++)以及至少对类,对象,结构,方法等的基本理解

one of the requirements to develop for Windows 10 IoT Core is the knowledge of at least one supported programming language (mainly C# and C++) and at least basic understanding of classes, objects, structs, methods and so on

请看一下开发前台应用程序 https://docs.microsoft.com/ en-us / windows / iot-core / develop-your-app / buildingappsforiotcore
了解有关支持的应用程序类型和编程语言的更多信息

please take a look at Developing foreground applications (https://docs.microsoft.com/en-us/windows/iot-core/develop-your-app/buildingappsforiotcore) to find out more about supported application types and programming languages

学习C#请找到 C#编程指南 https:// docs .microsoft.com / EN-US / DOTNET / CSHARP / p rogramming-guide / index

根据您的描述,您似乎想要使用
方法 "https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/methods">
https://docs.microsoft.com/en-us/ dotnet / csharp / programming-guide / classes-and-structs / methods

based on your description it seems you want to use a method described at https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/methods

br

Andre

br
Andre


这篇关于private void InitGPIO();的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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