Click or drag to resize

DataObjectGetPropertyValue Method (Int32, Int32)

Note: This API is now obsolete.

Returns the value of a Value property with data type 'Integer' or a Set property or a Reference property. If the property is a Set property the Id of the selected Set Property Value is returned. If the Set property has more than one selected values then a random one of those is returned. If the property is a Reference property the Id of the selected Data Object is returned. If the Reference property has more than one selected values then a random one of those is returned.

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 virtual int GetPropertyValue(
	int propertyId,
	int defaultValue
)

Parameters

propertyId
Type: SystemInt32
Internal Id of the property
defaultValue
Type: SystemInt32
defaultValue is returned if the dataobject doesn't have a value for the property.

Return Value

Type: Int32

Implements

IDataObjectGetPropertyValue(Int32, Int32)
See Also