Click or drag to resize

PropertyValue Class

Represents a single value for a property on an ExchangeObject.
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.Serialization.ModelPropertyValue

Namespace:  Omada.OE.AppLogic.Serialization.Model
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class PropertyValue

The PropertyValue type exposes the following members.

Constructors
  NameDescription
Public methodPropertyValue
Top
Properties
  NameDescription
Public propertyAction
If the property is a Set- or Reference-property then Action must be either Add or Remove. If the property is a Value-property then Action must be Modify.
Public propertyAttributeCount
Public propertyAttributes
Attributes for the property value. Only Reference Property Values can have attributes. Use AddAttribute() to add an attribute. The collection is null if the property doesn't allow attributes.
Public propertyDisplayValue
DisplayValue is used only if the property is a Reference- or a Set property. DisplayValue is not always available (this also goes for Reference- or a Set properties).
Public propertyLanguageId
LanguageId is used if the property is a Value property w. datatype MultiLangText. If LanguageId is zero the default language (English) will be assumed.
Public propertyLanguageIdDefault
Contains the specified language id - or English if it is not defined.
Public propertyTag
Optional "tag" value which is not used by the processing logic. Can be null.
Public propertyValue
Depending on the property's data type the Value is either a: string (VP datatype text, SP or RP), integer (VP datatype integer, RP), Guid (SP or RP), boolean (VP datatype bool), TimeSpan (VP datatype TimeSpan), double (VP datatype decimal) or DateTime (VP datatype DateTime).
Top
Methods
  NameDescription
Public methodAddAttribute
Public methodStatic memberDecodeXmlValue
Public methodToString (Overrides ObjectToString.)
Public methodToXmlString
Returns Value converted to xml format.
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also