Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardInsertCommand Class / CanExecute Method
Output an error message if can not execute, null for otherwise.


In This Topic
    CanExecute Method (ClipboardInsertCommand)
    In This Topic
    Indicates that this command can execute
    Syntax
    'Declaration
     
    
    Public Shared Function CanExecute( _
       ByVal worksheet1 As IWorksheet, _
       ByRef errorMessage As String, _
       ByRef direction As Nullable(Of InsertShiftDirection) _
    ) As Boolean
    'Usage
     
    
    Dim worksheet1 As IWorksheet
    Dim errorMessage As String
    Dim direction As Nullable(Of InsertShiftDirection)
    Dim value As Boolean
     
    value = ClipboardInsertCommand.CanExecute(worksheet1, errorMessage, direction)

    Parameters

    worksheet1
    errorMessage
    Output an error message if can not execute, null for otherwise.
    direction
    See Also