Share via


ITypeFilterProvider.CanFilterType(Type, Boolean) メソッド

定義

指定した型をフィルター処理できるかどうかを示す値を返します。

public:
 bool CanFilterType(Type ^ type, bool throwOnError);
public bool CanFilterType (Type type, bool throwOnError);
abstract member CanFilterType : Type * bool -> bool
Public Function CanFilterType (type As Type, throwOnError As Boolean) As Boolean

パラメーター

type
Type

フィルター処理できるかどうかを確認する対象の Type

throwOnError
Boolean

true が処理されたときに例外をスローする場合は CanFilterType(Type, Boolean)。それ以外の場合は false

戻り値

指定した型をフィルターできる場合は true。それ以外の場合は false

適用対象