[This is preliminary documentation and is subject to change.]
A simple field value that is strongly typed to match its XSD
Datatype in the SIF Schema. Unlike complex elements, which are
stored as child objects of their parent, simple fields (i.e. attributes or
elements that have no children) are wrapped in a SimpleField instance and
stored in the field table of their parent object.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class SimpleField : Element
<SerializableAttribute> _ Public Class SimpleField _ Inherits Element
[SerializableAttribute] public ref class SimpleField : public Element
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| SimpleFieldSimpleFieldNew(SifElement, IElementDef, SifSimpleType) |
Constructor
| |
| Clone()() |
Creates a copy of this field
(Overrides Element.Clone()().) | |
| DoNotEncode |
Checks the underlying data type and flags to determine if XML
encoding should turned off for this field
(Overrides Element.DoNotEncode.) | |
| SetTextValue(String, SifFormatter) |
Sets the text value of this element using the appropriate formatter
| |
| SifValue |
Returns the AdkDataType value of this field
(Overrides Element.SifValue.) | |
| TextValue | Gets or sets the datatype of this field as a string value.
The string is parsed using the default SIF formatter, which is the
SIF 1.x formatter by default (Overrides Element.TextValue.) | |
| Value |
Returns the native datatype value of this field
|