LinqDataSourceView.ValidateTableType(Type, Boolean) 方法
定义
检查表示数据表的类的类型是否为泛型类型。Checks whether the type of the class that represents the data table is a generic type.
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
要验证的表类型。The table type to validate.
- selecting
- Boolean
指定当选择操作开始时是否已调用该方法。Specifies whether the method has been called when a select operation starts.
例外
表的类型不是泛型。The type of the table is not generic.