Visual Basic (Declaration) | |
---|---|
Protected Overridable Function OnInvoked( _ ByVal args As UICommandInvokedArgs _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
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.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