获取或设置控件的名称。
命名空间:
Smobiler.Core.Controls
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.651.17422+f85e28ffe3fdebbfe720c8c2dde0db495f1a52ab
语法public string Name { get; set; }
Public Property Name As String
Get
Set
属性值
类型:
String控件的名称。默认值为空字符串 ("")。
备注
Name 属性可以在运行时使用,以按名称而不是按类型和编程名称计算对象。由于 Name 属性返回 String 类型,所以可以在 Case 式的逻辑语句中进行计算(在 Visual Basic 中是 Select 语句,在 C# 和 C++ 中是 switch 语句)。
参见