DataObjectGetPropertyValue Method | 
| Name | Description | |
|---|---|---|
| GetPropertyValue(Int32) | 
            Returns the value of a particular property on the newest data object version.
            The value can be of the following type::
             string, int, datetime, double, bool, SetPropertyValue object or ReferencePropertyValue object.
            It can also be null, if:
            * The object does not have a current versionhar ingen current version
            * The property was not found (its not on the type)'en blev ikke fundet (den er ikke på typen)
            * The value has not been loaded (ValueAvailable=false)
            * There are no value for theproperty
            (can be caused by yhe property being added to the type after the object was created.)
            * The identity user does not have access to the property
              | |
| GetPropertyValue(Int32, IEnumerableInt32) |  Obsolete.  
            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.
              | |
| GetPropertyValue(Int32, Int32) |  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.
              | |
| GetPropertyValue(String, Boolean) |  Obsolete.  
            Returns the value of a Value property with data type 'Boolean'.
              | |
| GetPropertyValue(String, IEnumerableInt32) |  Obsolete.  
            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.
              | |
| GetPropertyValue(String, DateTime) |  Obsolete.  
            Returns the value of a Value property with data type 'DateTime'.
              | |
| GetPropertyValue(String, Double) |  Obsolete.  
            Returns the value of a Value property with data type 'Decimal'.
              | |
| GetPropertyValue(String, Guid) |  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
              | |
| GetPropertyValue(String, Int32) | 
            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.
            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
              | |
| GetPropertyValue(String, String) | 
            Returns the string value of a property.
            If the property is a Value property it must be of data type 'Text' or 'MultiLangText'.
            If the property is a Set property the Name of the (first) selected value is returned.
            If the property is a Reference property the DisplayName of the (first) selected value 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
              | |
| GetPropertyValue(String, TimeSpan) |  Obsolete.  
            Returns the value of a Value property with data type 'TimeSpan'.
              |