Visual Basic (Declaration) | |
---|---|
Public MustOverride Function CanExecute() As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As QueueItemCommand Dim value As Boolean value = instance.CanExecute() |
C# | |
---|---|
public abstract bool CanExecute() |
Managed Extensions for C++ | |
---|---|
public: abstract bool CanExecute(); |
C++/CLI | |
---|---|
public: abstract bool CanExecute(); |
Return Value
True if the command can run; Otherwise, false.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7