GridTablesFactory.CreateGridTables(DataGridTableStyle, Object, String, BindingContext) GridTablesFactory.CreateGridTables(DataGridTableStyle, Object, String, BindingContext) GridTablesFactory.CreateGridTables(DataGridTableStyle, Object, String, BindingContext) GridTablesFactory.CreateGridTables(DataGridTableStyle, Object, String, BindingContext) Method

定义

返回一元数组中的指定 DataGridTableStyleReturns the specified DataGridTableStyle in a one-element array.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static cli::array <System::Windows::Forms::DataGridTableStyle ^> ^ CreateGridTables(System::Windows::Forms::DataGridTableStyle ^ gridTable, System::Object ^ dataSource, System::String ^ dataMember, System::Windows::Forms::BindingContext ^ bindingManager);
public static System.Windows.Forms.DataGridTableStyle[] CreateGridTables (System.Windows.Forms.DataGridTableStyle gridTable, object dataSource, string dataMember, System.Windows.Forms.BindingContext bindingManager);
static member CreateGridTables : System.Windows.Forms.DataGridTableStyle * obj * string * System.Windows.Forms.BindingContext -> System.Windows.Forms.DataGridTableStyle[]
Public Shared Function CreateGridTables (gridTable As DataGridTableStyle, dataSource As Object, dataMember As String, bindingManager As BindingContext) As DataGridTableStyle()

参数

dataSource
Object Object Object Object

一个 ObjectAn Object.

返回

一个 DataGridTableStyle 对象数组。An array of DataGridTableStyle objects.

适用于