IDataSourceViewSchema 接口

定义

定义一组用于检查数据源的方法和属性。Defines a set of methods and properties used to examine a data source.

public interface class IDataSourceViewSchema
public interface IDataSourceViewSchema
type IDataSourceViewSchema = interface
Public Interface IDataSourceViewSchema
派生

注解

自定义控件设计IDataSourceSchema器组件使用实现类的类, 在设计时为数据绑定控件提供数据源中的视图列表。Classes that implement the IDataSourceSchema class are used by custom control designer components to provide lists of views in a data source for data-bound controls at design time. 在派生自的IDataSourceSchema类中, GetViews使用方法获取对象的IDataSourceViewSchema数组。In a class that is derived from the IDataSourceSchema, use the GetViews method to get an array of IDataSourceViewSchema objects.

属性

Name

获取视图名。Gets the name of the view.

方法

GetChildren()

获取一个数组,该数组表示当前视图中所包含的子视图。Gets an array representing the child views contained in the current view.

GetFields()

获取一个数组,该数组包含数据源中各字段的信息。Gets an array containing information about each field in the data source.

适用于

另请参阅