Represents notification to initialize event hooks for components which is not supported. The supported components are
MenuItem,
Button and
ToolBarButton. Should be overided and result should be true.
Syntax
Visual Basic (Declaration) |
|
Protected Overridable Function DoAttach() As Boolean |
Visual Basic (Usage) |
Copy Code |
Dim instance As CommandUI
Dim value As Boolean
value = instance.DoAttach()
|
C# |
|
protected virtual bool DoAttach() |
Return Value
Returns true if events hooks are successful
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also