A newer version of this page is available. Switch to the current version.

ResourceDataStorage.GetObjectRow(Resource) Method

Returns the data row object that contains information about the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public object GetObjectRow(
    Resource obj
)

Parameters

Name Type Description
obj Resource

A Resource whose related data row object is to be retrieved.

Returns

Type Description
Object

A Object which is the data source object (or the data row) containing information about the resource.

Remarks

When the ResourceDataStorage is in bound mode, the GetObjectRow method can be used to obtain the data source object (or the data row), which contains information on the specified resource.

If the Scheduler is bound to a collection of objects, the GetObjectRow returns the object from the collection. If the Microsoft OLE DB provider is used to connect the Scheduler to the data source, the DataRowView is returned.

See Also