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