SPGridViewRow Constructor
Initializes a new instance of the SPGridViewRow class.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
rowIndex As Integer, _
dataItemIndex As Integer, _
rowType As DataControlRowType, _
rowState As DataControlRowState, _
gridView As SPGridView, _
headerText As String _
)
'Usage
Dim rowIndex As Integer
Dim dataItemIndex As Integer
Dim rowType As DataControlRowType
Dim rowState As DataControlRowState
Dim gridView As SPGridView
Dim headerText As String
Dim instance As New SPGridViewRow(rowIndex, _
dataItemIndex, rowType, rowState, _
gridView, headerText)
public SPGridViewRow(
int rowIndex,
int dataItemIndex,
DataControlRowType rowType,
DataControlRowState rowState,
SPGridView gridView,
string headerText
)
Parameters
rowIndex
Type: System.Int32A32-bit signed integer that specifies the row index
dataItemIndex
Type: System.Int32A32-bit signed integer that specifies the data item index
rowType
Type: System.Web.UI.WebControls.DataControlRowTypeA value of the DataControlRowType enumeration.
rowState
Type: System.Web.UI.WebControls.DataControlRowStateA value of the DataControlRowState enumeration.
gridView
Type: Microsoft.SharePoint.WebControls.SPGridViewA SPGridView object.
headerText
Type: System.StringA string that contains the header text.