DataGridColumnCollection(DataGrid, ArrayList) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridColumnCollection class.
public:
DataGridColumnCollection(System::Web::UI::WebControls::DataGrid ^ owner, System::Collections::ArrayList ^ columns);
public DataGridColumnCollection (System.Web.UI.WebControls.DataGrid owner, System.Collections.ArrayList columns);
new System.Web.UI.WebControls.DataGridColumnCollection : System.Web.UI.WebControls.DataGrid * System.Collections.ArrayList -> System.Web.UI.WebControls.DataGridColumnCollection
Public Sub New (owner As DataGrid, columns As ArrayList)
Parameters
Examples
The following code example demonstrates how to create and initialize a new instance of the DataGridColumnCollection class.
void Page_Init(Object sender, EventArgs e)
{
ArrayList myList = new ArrayList();
DataGridColumnCollection myColumnCollection = new DataGridColumnCollection(ItemsGrid, myList);
}
Sub Page_Init(sender As Object, e As EventArgs)
Dim myList As New ArrayList()
Dim myColumnCollection As New DataGridColumnCollection(ItemsGrid, myList)
End Sub
Remarks
Use this constructor to create and initialize a new instance of the DataGridColumnCollection class.
Applies to
See also
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.