TreeViewArray.ShouldSerializeIndex(TreeView) 方法

定義

回傳一個值,表示 a TreeView 是否屬於此 TreeViewArray

public:
 bool ShouldSerializeIndex(System::Windows::Forms::TreeView ^ o);
public bool ShouldSerializeIndex(System.Windows.Forms.TreeView o);
member this.ShouldSerializeIndex : System.Windows.Forms.TreeView -> bool
Public Function ShouldSerializeIndex (o As TreeView) As Boolean

參數

o
TreeView

控制陣列中的A TreeView

傳回

trueo 是此控制陣列的成員;否則, false

備註

若指定 TreeView 為不同 TreeViewArray的成員, ShouldSerializeIndex 則返回 false

注意

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於