检索标签值+窗口应用程序 [英] Retrieving label value + window application
本文介绍了检索标签值+窗口应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在窗口应用程序中检索标签值
how to retrieve label value in window application
推荐答案
Label
具有文本属性 ^ ].
Label
has a Text property[^].
您需要获取标签控件的Text Property的值.喜欢:
You need to get the value of Text Property of label control. Like:
If label1.text <> "" Then
Dim strLabelValue As String = label1.Text
End If
注意:如果标签在文本属性"中具有某些值,则它将被分配给strLabelValue.
Note: If label has some value in Text Property then it will be assigned to strLabelValue.
这篇关于检索标签值+窗口应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文