AttrValueUpdateHelperGetAttrValueFromValidatedText Method (AttrValueType, String, Object, String, Object, Boolean) |
Generates new AttrVale.Value compatible object from a plain string (entry field, XML tag, etc) and
determines if the value has to be updated at all.
We assume that the attribute value type is notEnum and that the attribute
value is valid. Therefore the isValid parameter is totally meaningless.
Namespace:
PDTec.IceNet.Sdk.Model
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static void GetAttrValueFromValidatedText(
AttrValueType valueType,
string rangeSpec,
Object oldValue,
string value,
out Object newValue,
out bool isChanged
)
Parameters
- valueType
- Type: PDTec.IceNet.Core.ModelAttrValueType
The attribute value has to conform to this attribute value type - rangeSpec
- Type: SystemString
The attribute value has to conform to this range specification - oldValue
- Type: SystemObject
The previous attribute value. This parameter is used to determine if the value
has to be updated. Can be null, then the isChanged parameter is meaningless. - value
- Type: SystemString
The plain string that represents the new value - newValue
- Type: SystemObject
The new attribute value in it's native type. Only relevant if
id . - isChanged
- Type: SystemBoolean
Indicates if the differs from the
See Also