Click or drag to resize

DataObjectGetPropertyValue Method (String, TimeSpan)

Note: This API is now obsolete.

Returns the value of a Value property with data type 'TimeSpan'.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[ObsoleteAttribute("Use GetSinglePropertyValue<T>(int, T) instead!")]
public TimeSpan GetPropertyValue(
	string property,
	TimeSpan defaultValue
)

Parameters

property
Type: SystemString
System name of the property
defaultValue
Type: SystemTimeSpan
defaultValue is returned if the dataobject doesn't have a value for the property.

Return Value

Type: TimeSpan

Implements

IDataObjectGetPropertyValue(String, TimeSpan)
See Also