Version

CanExecute Method (ConditionFilterCommand)

Used to determine if the commmand may be executed for the specified field and recordmanager.
Syntax
'Declaration
 
Protected Overrides Function CanExecute( _
   ByVal field As Field, _
   ByVal rm As RecordManager _
) As Boolean
protected override bool CanExecute( 
   Field field,
   RecordManager rm
)

Parameters

field
The field whose filter is to be changed
rm
The recordmanager whose filter is to be changed

Return Value

Returns true if field and rm are non-null and the field is associated with a field layout.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also