Back to Devexpress

ISchedulerStorageBase.SetObjectValue(IPersistentObject, String, Object) Method

corelibraries-devexpress-dot-xtrascheduler-dot-ischedulerstoragebase-dot-setobjectvalue-x28-devexpress-dot-xtrascheduler-dot-ipersistentobject-system-dot-string-system-dot-object-x29.md

latest3.2 KB
Original Source

ISchedulerStorageBase.SetObjectValue(IPersistentObject, String, Object) Method

Assigns the specified value to a field in the data row that contains information about the specified persistent object.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
void SetObjectValue(
    IPersistentObject obj,
    string columnName,
    object val
)
vb
Sub SetObjectValue(
    obj As IPersistentObject,
    columnName As String,
    val As Object
)

Parameters

NameTypeDescription
objIPersistentObject

A PersistentObject class descendant which is the persistent object (Appointment, Resource or AppointmentDependency object).

| | columnName | String |

A String value which specifies the name of the required data field.

| | val | Object |

A Object which specifies the required data field’s value.

|

Remarks

If a storage object is bound to a data source, the information about persistent objects (appointments, resources or appointment dependencies) is obtained from the data source’s data rows. Use the SetObjectValue method to assign a specific value to a field value from the data row that corresponds to the specified persistent object.

See Also

GetObjectValue(T, String)

GetRow(ISchedulerStorageBase)

SetValue(ISchedulerStorageBase, String, Object)

GetValue(ISchedulerStorageBase, String)

ISchedulerStorageBase Interface

ISchedulerStorageBase Members

DevExpress.XtraScheduler Namespace