ITypeFilterProvider.CanFilterType(Type, Boolean) Method

Definition

Returns a value that indicates whether the specified type can be filtered.

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

Parameters

type
Type

The Type to check for filtering.

throwOnError
Boolean

true to throw an exception when the CanFilterType(Type, Boolean) is processed; otherwise, false.

Returns

true if the specified type can be filtered; otherwise, false.

Applies to