SIFWorks ADK 2.0
SimpleField Class
NamespacesEdustructures.SifWorksSimpleField

[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.
Declaration Syntax
C#Visual BasicVisual C++
[SerializableAttribute]
public class SimpleField : Element
<SerializableAttribute> _
Public Class SimpleField _
	Inherits Element
[SerializableAttribute]
public ref class SimpleField : public Element
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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

Inheritance Hierarchy
Object
Element
 SimpleField

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10