Cocktail Help Reference
OnInvoked Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > UICommand Class : OnInvoked Method



args

Glossary Item Box

Triggers the Invoked event.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function OnInvoked( _
   ByVal args As UICommandInvokedArgs _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UICommand
Dim args As UICommandInvokedArgs
Dim value As Boolean
 
value = instance.OnInvoked(args)
C# 
protected virtual bool OnInvoked( 
   UICommandInvokedArgs args
)
C++/CLI 
protected:
virtual bool OnInvoked( 
   UICommandInvokedArgs^ args
) 

Parameters

args

Return Value

True if the command was successful, false if the command was cancelled.

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

© 2013 All Rights Reserved.