AttrValueUpdateHelperCheckAndGetAttrValueFromText Method |
Checks and generates new AttrVale.Value compatible object from a plain string (entry field, XML tag, etc).
Causes a database request for Enum value types.
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 CheckAndGetAttrValueFromText(
AttrValueType valueType,
string rangeSpec,
IAttrType pAttrType,
Object oldValue,
string value,
out bool isValid,
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. Not for
Enum value types. - pAttrType
- Type: PDTec.IceNet.Core.ModelIAttrType
The attribute value has to conform to the type's enum specification. Only for
Enum value types - 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 - isValid
- Type: SystemBoolean
Will be set to if the new value conforms to the attribute
type and range specification. otherwise. - 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