| DataObjectGetPropertyValuesT Method (String) |
Returns the value(s) for a property or a fixed field.
Not all fixed fields are supported - please refer to the PropertyValuesContainer class for details.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic virtual List<T> GetPropertyValues<T>(
string property
)
where T : Object, IEquatable<T>
Parameters
- property
- Type: SystemString
System name of a property or name of a fixed field.
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
Fixed fields: (other are supported besides these - please refer to the PropertyValuesContainer class for details)
CreateTime: DateTime
ChangeTime: DateTime
CreatedBy: int
Number: int
Type: int
Id: int
DisplayName: string
Return Value
Type:
ListT
Returns the value(s) for the property or fixed field.
If the property/field doesn't exist or the data object has no value for it then an empty list is returned.
See Also