Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerDataStorage.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.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public void SetObjectValue(
    IPersistentObject obj,
    string columnName,
    object val
)

#Parameters

Name Type Description
obj IPersistentObject

An object implementing the IPersistentObject interface (appointment, resource or appointment dependency).

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 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