Click or drag to resize

PropertyValuesContainer Methods

The PropertyValuesContainer type exposes the following members.

Methods
  NameDescription
Public methodAllowsMultipleValues
Public methodAssignValues
Adds/replaces the value(s) of a property.
Public methodClone
Makes a copy
Public methodContains(Int32)
Returns true if the container has an entry for a property. Note: can't be used to query for a fixed field!
Public methodContains(String)
Returns true if the container has an entry for a property or fixed field.
Public methodStatic memberConvertToAssignableValue
Converts a value to a format that can be assigned to the indexer property (or delivered to the AssignValues() method).
Public methodGetDataType
Returns the data type that the value(s) for a property/field are expected to be of.
Public methodGetPropertyType
Returns the property type of a specified key. Throws if the key is not allowed in the container or if it doesn't denote a property (but a fixed field).
Public methodGetSingleValue(String)
Returns a single value for a property. If the property has no value(s) then null is returned.
Public methodGetSingleValueT(Int32, T)
Returns a single value for a property (fixed fields are not supported by this method).
Public methodGetSingleValueT(String, T)
Returns a single value for a property or a fixed field. Not all fixed fields are supported - please refer to the PropertyValuesContainer class for details.
Public methodHasEqualValues
Returns whether the value(s) of a property are equal to the values of the same property in another container. If the property contains multiple values then the order of them is considered insignificant.
Public methodIsProperty
Returns true if the specified key denotes a property - false if it denotes a fixed field. Throws if the key is not allowed in the container.
Public methodToDictionary
Public methodToListT(Int32)
Public methodToListT(String)
Public methodValueCount
Returns the number of values that the container has for a property or fixed field.
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