ToolStripArray.CanExtend(Object) 方法
定义
获取一个值,该值确定控件是否是 ToolStripArray 的一个成员。Gets a value that determines whether a control is a member of a ToolStripArray.
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 是控件数组的一个成员,则为 true;否则为 false。true if target is a member of the control array; otherwise false.
实现
注解
CanExtend方法可用于确定特定 ToolStrip 控件是否为从中克隆其他元素的控件数组的基元素。The CanExtend method can be used to determine whether a specific ToolStrip 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 中其他命名空间的功能。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.