TaskInfoCanCastTTargetDirective Method |
Resolves whether the true, underlying directive type is
assignable to the target directive type.
Namespace:
MFiles.VAF.AppTasks
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic abstract bool CanCast<TTargetDirective>()
where TTargetDirective : TaskDirective
Public MustOverride Function CanCast(Of TTargetDirective As TaskDirective) As Boolean
public:
generic<typename TTargetDirective>
where TTargetDirective : TaskDirective
virtual bool CanCast() abstract
Type Parameters
- TTargetDirective
- The desired directive type to cast to.
Return Value
Type:
BooleanTrue if the cast is possible, false otherwise.
See Also