共用方式為


ThrowActivity.ITypeFilterProvider.CanFilterType(Type, Boolean) 方法

定義

傳回值,這個值指出是否篩選指定的 Type

 virtual bool System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType(Type ^ type, bool throwOnError) = System::Workflow::ComponentModel::Design::ITypeFilterProvider::CanFilterType;
bool ITypeFilterProvider.CanFilterType (Type type, bool throwOnError);
abstract member System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType : Type * bool -> bool
override this.System.Workflow.ComponentModel.Design.ITypeFilterProvider.CanFilterType : Type * bool -> bool
Function CanFilterType (type As Type, throwOnError As Boolean) As Boolean Implements ITypeFilterProvider.CanFilterType

參數

type
Type

要檢查以進行篩選的 Type

throwOnError
Boolean

若要在已處理 true 時擲回例外狀況,則為 CanFilterType(Type, Boolean),否則為 false

傳回

如果可以篩選指定的型別,則為 true,否則為 false

實作

適用於