Cocktail Help Reference
InvokeCommand Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogButton Class : InvokeCommand Method



Glossary Item Box

Invokes the command associated with this button.

Syntax

Visual Basic (Declaration) 
Public Function InvokeCommand() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DialogButton
Dim value As Boolean
 
value = instance.InvokeCommand()
C# 
public bool InvokeCommand()
C++/CLI 
public:
bool InvokeCommand(); 

Return Value

Returns false if the command was cancelled, otherwise true.

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.