共用方式為


GridTablesFactory.CreateGridTables 方法

定義

在一個元素的陣列中傳回指定的 DataGridTableStyle

此 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

dataMember
String

String

bindingManager
BindingContext

BindingContext

傳回

DataGridTableStyle 物件的陣列。

適用於