向我解释这段代码 [英] explain me this code

查看:48
本文介绍了向我解释这段代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我告诉我wt这段代码是什么意思?

Dim Selectedlist作为List(Of Control)=新List(Of Control)

hi all plz explain me wt does this code mean?

Dim Selectedlist As List(Of Control) = New List(Of Control)

推荐答案

它声明了一个名为"SelectedList"的变量,该变量引用只能包含以下内容的List控件和派生自Control的类.然后为它分配一个新的空白控件列表.

我宣布该Dim Selectedlist为List(Of Control)= New List(Of Control)此编码,但它出现了一些错误,您能告诉我wt是该错误的意思,以及我想从该错误中纠正的内容"

它给了什么错误?它什么时候给的?
It declares a variable called "SelectedList", which refers to a List which can only contain Controls and classes derived from Control. It then assigns a new, empty list of Controls to it.

"i declared that Dim Selectedlist As List(Of Control) = New List(Of Control) this coding but its shoing some error,, can u tell me wt is that error means,and what i want to for rectify from that error"

What error did it give? When did it give it?


这篇关于向我解释这段代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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