System.Data.DataRowView.this C# (CSharp) Method

this() public method

Gets or sets a value in specified column.
Uses either DataRowVersion.Default or DataRowVersion.Original to access Row
when setting a value.
public this ( int ndx ) : object
ndx int Specified column index.
return object
        public object this[int ndx]
        {
            get { return Row[ndx, RowVersionDefault]; }
            set
            {
                if (!_dataView.AllowEdit && !IsNew)
                {
                    throw ExceptionBuilder.CanNotEdit();
                }
                SetColumnValue(_dataView.Table.Columns[ndx], value);
            }
        }

Same methods

DataRowView::this ( string property ) : object
DataRowView::this ( string colName ) : stringIDataErrorInfo.System.ComponentModel