ToolTip.CanExtend(Object) Method

Definition

如果工具提示可以向指定的目标组件提供一个扩展程序属性,则返回 trueReturns true if the ToolTip can offer an extender property to the specified target component.

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

Parameters

target
Object

要为其添加扩展程序属性的目标对象。The target object to add an extender property to.

Returns

Boolean

如果 ToolTip 类可提供一个或多个扩展程序属性,则为 true;否则为 falsetrue if the ToolTip class can offer one or more extender properties; otherwise, false.

Implements

Remarks

CanExtend 方法是 System.ComponentModel.IExtenderProvider 接口的唯一成员。The CanExtend method is the only member of the System.ComponentModel.IExtenderProvider interface. 如果 target 参数的类型为 Control,则此方法返回 trueThis method returns true if the target parameter is of type Control.

Applies to

See also