ITypeFilterProvider.CanFilterType(Type, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,這個值指出是否篩選指定的型別。
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
參數
- throwOnError
- Boolean
若要在已處理 true
時擲回例外狀況,則為 CanFilterType(Type, Boolean),否則為 false
。
傳回
如果可以篩選指定的型別,則為 true
,否則為 false
。