| DataObjectGetPropertyValue Method (String, Guid) |
Note: This API is now obsolete.
Returns the value of Set property.
The UId 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.
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[ObsoleteAttribute("Use GetSinglePropertyValue<T>(int, T) instead - convert your Set Property Value UID to an ID before calling.")]
public Guid GetPropertyValue(
string property,
Guid defaultValue
)
Parameters
- property
- Type: SystemString
System name of the property - defaultValue
- Type: SystemGuid
defaultValue is returned if the dataobject doesn't have a value for the property.
Return Value
Type:
GuidImplements
IDataObjectGetPropertyValue(String, Guid)
See Also