SaveFileDialogArray.CanExtend(Object) 方法

定義

取得值,判斷控制項是否為 SaveFileDialogArray 的成員。Gets a value that determines whether a control is a member of a SaveFileDialogArray.

public:
 virtual bool CanExtend(System::Object ^ target) = System::ComponentModel::IExtenderProvider::CanExtend;
public bool CanExtend (object target);
abstract member CanExtend : obj -> bool
override this.CanExtend : obj -> bool
Public Function CanExtend (target As Object) As Boolean

參數

target
Object

OpenFileDialog 控制項。An OpenFileDialog control.

傳回

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

實作

備註

CanExtend 方法可以用來判斷特定的 OpenFileDialog 控制項是否為複製其他專案之控制項陣列的基底元素。The CanExtend method can be used to determine whether a specific OpenFileDialog control is the base element of the control array from which the other elements were cloned.

注意

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.

適用於