PropertyValuesContainer Methods |
The PropertyValuesContainer type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllowsMultipleValues | |
![]() | AssignValues |
Adds/replaces the value(s) of a property.
|
![]() | Clone |
Makes a copy
|
![]() | Contains(Int32) |
Returns true if the container has an entry for a property.
Note: can't be used to query for a fixed field!
|
![]() | Contains(String) |
Returns true if the container has an entry for a property or fixed field.
|
![]() ![]() | ConvertToAssignableValue |
Converts a value to a format that can be assigned to the indexer property (or delivered to the AssignValues() method).
|
![]() | GetDataType |
Returns the data type that the value(s) for a property/field are expected to be of.
|
![]() | GetPropertyType |
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).
|
![]() | GetSingleValue(String) |
Returns a single value for a property.
If the property has no value(s) then null is returned.
|
![]() | GetSingleValueT(Int32, T) |
Returns a single value for a property (fixed fields are not supported by this method).
|
![]() | GetSingleValueT(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.
|
![]() | HasEqualValues |
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.
|
![]() | IsProperty |
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.
|
![]() | ToDictionary | |
![]() | ToListT(Int32) | |
![]() | ToListT(String) | |
![]() | ValueCount |
Returns the number of values that the container has for a property or fixed field.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |