SaveFileDialogArray.ShouldSerializeIndex(SaveFileDialog) 方法

定義

傳回值,表示 SaveFileDialog 是否為這個 SaveFileDialogArray 的成員。Returns a value that indicates whether a SaveFileDialog is a member of this SaveFileDialogArray.

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

參數

o
SaveFileDialog

控制項陣列中的 SaveFileDialogA SaveFileDialog in the control array.

傳回

如果 o 為這個控制項陣列的成員,則為 true,否則為 falsetrue if o is a member of this control array; otherwise, false.

備註

如果指定的 SaveFileDialog 是其他 SaveFileDialogArray 的成員,ShouldSerializeIndex 會傳回 falseIf the specified SaveFileDialog is a member of a different SaveFileDialogArray, 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.NET Framework 的其他命名空間中可以找到的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有當 Visual Basic 6.0 程式碼模型與 .NET Framework.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

適用於