ToolStripArray.ShouldSerializeIndex(ToolStrip) 方法
定义
返回一个值,该值指示 ToolStrip 是否为此 ToolStripArray 的成员。Returns a value that indicates whether a ToolStrip is a member of this ToolStripArray.
public:
bool ShouldSerializeIndex(System::Windows::Forms::ToolStrip ^ o);
public bool ShouldSerializeIndex (System.Windows.Forms.ToolStrip o);
member this.ShouldSerializeIndex : System.Windows.Forms.ToolStrip -> bool
Public Function ShouldSerializeIndex (o As ToolStrip) As Boolean
参数
返回
如果 o 是此控件数组的一个成员,则为 true;否则为 false。true if o is a member of this control array; otherwise, false.
注解
如果指定的 ToolStrip 是另一个 ToolStripArray 的成员,ShouldSerializeIndex 则返回 false。If the specified ToolStrip is a member of a different ToolStripArray, ShouldSerializeIndex returns false.
备注
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.