DetailsViewRow(Int32, DataControlRowType, DataControlRowState) Konstruktor

Definition

Initierar en ny instans av DetailsViewRow klassen.

public:
 DetailsViewRow(int rowIndex, System::Web::UI::WebControls::DataControlRowType rowType, System::Web::UI::WebControls::DataControlRowState rowState);
public DetailsViewRow(int rowIndex, System.Web.UI.WebControls.DataControlRowType rowType, System.Web.UI.WebControls.DataControlRowState rowState);
new System.Web.UI.WebControls.DetailsViewRow : int * System.Web.UI.WebControls.DataControlRowType * System.Web.UI.WebControls.DataControlRowState -> System.Web.UI.WebControls.DetailsViewRow
Public Sub New (rowIndex As Integer, rowType As DataControlRowType, rowState As DataControlRowState)

Parametrar

rowIndex
Int32

Indexet för raden i Rows kontrollens DetailsView samling.

rowType
DataControlRowType

Ett av uppräkningsvärdena DataControlRowType .

rowState
DataControlRowState

Ett av uppräkningsvärdena DataControlRowState .

Kommentarer

Använd den här konstruktorn för att initiera en ny instans av DetailsViewRow klassen.

I följande tabell visas inledande egenskapsvärden för en instans av DetailsViewRow klassen.

Fastighet Initialt värde
RowIndex Värdet som anges av parametern itemIndex .
RowType Värdet som anges av parametern rowType .
RowState Värdet som anges av parametern rowState .

Gäller för

Se även