StatusStripArray.SetIndex(StatusStrip, Int16) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置 StatusStrip 中的初始 StatusStripArray 的索引。
public:
void SetIndex(System::Windows::Forms::StatusStrip ^ o, short Index);
public void SetIndex(System.Windows.Forms.StatusStrip o, short Index);
member this.SetIndex : System.Windows.Forms.StatusStrip * int16 -> unit
Public Sub SetIndex (o As StatusStrip, Index As Short)
参数
控件数组中的 StatusStrip。
- Index
- Int16
Short,表示指定的 StatusStrip 的索引。
注解
SetIndex只有在控件数组中创建初始元素时,才应调用 方法。 若要添加后续元素,请调用 Load 方法并指定 Index。
注意
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。