ColorDialogArray.ShouldSerializeIndex(ColorDialog) 方法
定义
返回一个值,该值指示 ColorDialog 是否为此 ColorDialogArray 的成员。Returns a value that indicates whether a ColorDialog is a member of this ColorDialogArray.
public:
bool ShouldSerializeIndex(System::Windows::Forms::ColorDialog ^ o);
public bool ShouldSerializeIndex (System.Windows.Forms.ColorDialog o);
member this.ShouldSerializeIndex : System.Windows.Forms.ColorDialog -> bool
Public Function ShouldSerializeIndex (o As ColorDialog) As Boolean
参数
控件数组中的 ColorDialog。A ColorDialog in the control array.
返回
如果 o 是此控件数组的一个成员,则为 true;否则为 false。true if o is a member of this control array; otherwise, false.
注解
如果指定的 ColorDialog 是另一个 ColorDialogArray 的成员,ShouldSerializeIndex 则返回 false。If the specified ColorDialog is a member of a different ColorDialogArray, 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.