Click or drag to resize

DataObjectGetPropertyValuesT Method (Int32)

Returns the value(s) for a property.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public virtual List<T> GetPropertyValues<T>(
	int propertyId
)
where T : Object, IEquatable<T>

Parameters

propertyId
Type: SystemInt32
System name of a property.

Type Parameters

T
The data type of the value depends on the property type and data type: Value property - Text: string Value property - Integer: int Value property - DateTime: DateTime Value property - Decimal: double Value property - Boolean: bool Value property - Hyperlink: string Value property - TimeSpan: TimeSpan Value property - MultiLangText: string Value property - Xml: string Set property: int Reference property: int

Return Value

Type: ListT
Returns the value(s) for the property. If the property doesn't exist or the data object has no value for it then an empty list is returned.
See Also