Click or drag to resize

SimpleDataObjectIDataObjectGetPropertyValue Method (Int32, IEnumerableInt32)

Returns the value(s) of a Set property or a Reference property. If the property is a Set property the Ids of the selected Set Property Values are returned. If the property is a Reference property the Ids of the selected Data Objects are returned. Throws an exception if: - The property doesn't exist - The property is not present in the data object type - 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
Syntax
C#
IEnumerable<int> IDataObject.GetPropertyValue(
	int propertyId,
	IEnumerable<int> defaultValue
)

Parameters

propertyId
Type: SystemInt32
Internal Id of the property
defaultValue
Type: System.Collections.GenericIEnumerableInt32
defaultValue is returned if the dataobject doesn't have any value(s) for the property.

Return Value

Type: IEnumerableInt32

Implements

IDataObjectGetPropertyValue(Int32, IEnumerableInt32)
See Also