ActivityDesigner.IWorkflowRootDesigner.IsSupportedActivityType(Type) 方法

定義

傳回值,這個值表示目前的 ActivityDesigner 是否支援指定型別。Returns a value that indicates whether the specified type is supported on the current ActivityDesigner.

 virtual bool System.Workflow.ComponentModel.Design.IWorkflowRootDesigner.IsSupportedActivityType(Type ^ activityType) = System::Workflow::ComponentModel::Design::IWorkflowRootDesigner::IsSupportedActivityType;
bool IWorkflowRootDesigner.IsSupportedActivityType (Type activityType);
Function IsSupportedActivityType (activityType As Type) As Boolean Implements IWorkflowRootDesigner.IsSupportedActivityType

參數

activityType
Type

活動的 Type,要檢查其在活動設計工具上是否支援。The Type of the activity to check for support on the activity designer.

傳回

如果目前的工作流程設計工具支援型別,則為 true,否則為 falsetrue if the type is supported on the current workflow designer; otherwise, false.

實作

備註

只有在 ActivityDesigner 為根目錄設計工具時,才會呼叫 IsSupportedActivityType。IsSupportedActivityType is called only if the ActivityDesigner is a root designer.

適用於