AttrValueUpdateHelperGetAttrValueFromValidatedText Method (IAttrDef, 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(
IAttrDef pAttrDef,
string newRangeSpec,
Object oldValue,
string value,
out Object newValue,
out bool isChanged
)
Parameters
- pAttrDef
- Type: PDTec.IceNet.Core.ModelIAttrDef
The attribute value has to conform to this attribute definition - newRangeSpec
- Type: SystemString
The range specification of the attribute type (retrieved from
the pAttrDef parameter) can be overridden by this parameter. Set to otherwise. - 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