Table of Contents

Class DataViewRecord

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

A record within the XPDataView.

public sealed class DataViewRecord : ICustomTypeDescriptor
Inheritance
DataViewRecord
Implements
Inherited Members

Constructors

DataViewRecord(XPDataView, object[])

Initializes a new instance of the DataViewRecord class.

public DataViewRecord(XPDataView view, object[] data)

Parameters

view XPDataView

An XPDataView object that represents the data view to which the record belongs.

data object[]

An array of objects that represent the record’s data. The order of objects corresponds to columns providing values for the record.

Properties

this[int]

Gets the value of the column specified by its index.

public object this[int index] { get; }

Parameters

index int

An integer value which represents the column’s index.

Property Value

object

An object which represents the value of the specified column.

this[string]

Gets the value of the column specified by its name.

public object this[string name] { get; }

Parameters

name string

A string value which specifies the column’s name.

Property Value

object

An object which represents the value of the specified column.

View

Gets the data view to which the current record belongs.

public XPDataView View { get; }

Property Value

XPDataView

An XPDataView object representing the data view that owns the current record.