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.Int32

    A32-bit signed integer that specifies the row index

  • dataItemIndex
    Type: System.Int32

    A32-bit signed integer that specifies the data item index

  • headerText
    Type: System.String

    A string that contains the header text.

See Also

Reference

SPGridViewRow Class

SPGridViewRow Members

Microsoft.SharePoint.WebControls Namespace