Click or drag to resize

XmlAttrValueConvertToModelAttrValue Method

Converts the attrValue string into an appropriate ice.NET value object. The method returns null if the attrValue string does not match the requirements of the attrValueType.

Namespace:  PDTec.IceNet.Sdk.Xml
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static Object ToModelAttrValue(
	AttrValueType attrValueType,
	string attrValue
)

Parameters

attrValueType
Type: PDTec.IceNet.Core.ModelAttrValueType
The attribute value type.
attrValue
Type: SystemString
The XML string.

Return Value

Type: Object
An object that is the value represented by the attrValue string. null if the attrValue string does not match the reqiurements of the attrValueType.
See Also