Edit

Bagikan melalui


GridTablesFactory.CreateGridTables Method

Definition

Returns the specified DataGridTableStyle in a one-element array.

This API supports the product infrastructure and is not intended to be used directly from your code.

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()

Parameters

dataSource
Object

An Object.

dataMember
String

A String.

bindingManager
BindingContext

A BindingContext.

Returns

An array of DataGridTableStyle objects.

Applies to