[This is preliminary documentation and is subject to change.]
Parses the XML string value and returns the proper SimpleField instance to hold
the element value
| C# | Visual Basic | Visual C++ |
public SimpleField ParseField( SifElement parent, IElementDef id, SifFormatter formatter, string xmlValue )
Public Function ParseField ( _ parent As SifElement, _ id As IElementDef, _ formatter As SifFormatter, _ xmlValue As String _ ) As SimpleField
public: virtual SimpleField^ ParseField ( SifElement^ parent, IElementDef^ id, SifFormatter^ formatter, String^ xmlValue ) sealed
- parent (SifElement)
- The parent SIFElement of this field
- id (IElementDef)
- The metadata definition of the field
- formatter (SifFormatter)
- The formatter to use for the specific version of SIF being parsed
- xmlValue (String)
- A string representing the XML payload being used for this version of SIF
A simple field initialized with the proper value
| Exception | Condition |
|---|---|
| AdkParsingException | thrown if the value cannot be parsed according to the
formatting rules for this version of SIF |