TaskInfoTDirectiveCanCastTTargetDirective 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 override bool CanCast<TTargetDirective>()
where TTargetDirective : TaskDirective
Public Overrides Function CanCast(Of TTargetDirective As TaskDirective) As Boolean
public:
generic<typename TTargetDirective>
where TTargetDirective : TaskDirective
virtual bool CanCast() override
Type Parameters
- TTargetDirective
- The desired directive type to cast to.
Return Value
Type:
BooleanTrue if the cast is possible, false otherwise.
See Also