LinqDataSourceView.ValidateTableType(Type, Boolean) 方法

定義

檢查表示資料表的類別型別是否為泛型型別。

protected:
 virtual void ValidateTableType(Type ^ tableType, bool selecting);
protected virtual void ValidateTableType (Type tableType, bool selecting);
abstract member ValidateTableType : Type * bool -> unit
override this.ValidateTableType : Type * bool -> unit
Protected Overridable Sub ValidateTableType (tableType As Type, selecting As Boolean)

參數

tableType
Type

要驗證的資料表型別。

selecting
Boolean

指定當選取作業開始時是否已呼叫方法。

例外狀況

資料表的型別不是泛型。

適用於