| SimpleDataObjectIDataObjectGetPropertyValue Method (String, TimeSpan) |
Returns the value of a Value property with data type 'TimeSpan'.
Throws an exception if:
- The property is not found
- The property is not of the right type and data type
- The value of the property is not available (because it has not been loaded)
- The value of the property is not accessible due to security
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
SyntaxTimeSpan IDataObject.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:
TimeSpanImplements
IDataObjectGetPropertyValue(String, TimeSpan)
See Also