SIFWorks ADK 2.0
Parse Method (msg, zone, flags)
NamespacesEdustructures.SifWorksSifParserParse(TextReader, IZone, SifParserFlags)

[This is preliminary documentation and is subject to change.]

Parses a SIF data element into a SifElement.
Declaration Syntax
C#Visual BasicVisual C++
public SifElement Parse(
	TextReader msg,
	IZone zone,
	SifParserFlags flags
)
Public Function Parse ( _
	msg As TextReader, _
	zone As IZone, _
	flags As SifParserFlags _
) As SifElement
public:
SifElement^ Parse (
	TextReader^ msg, 
	IZone^ zone, 
	SifParserFlags flags
)
Parameters
msg (TextReader)
The content to parse
zone (IZone)
The Zone from which the message was received, or null if not applicable or not known
flags (SifParserFlags)
Reserved for future use
Return Value
A SifElement object encapsulating the message payload (e.g. a Edustructures.SifWorks.student.StudentPersonal object)
Remarks
In order to be SIFCompliant, the TextReader must be using UTF-8 Encoding to read the underlying binary data
Exceptions
ExceptionCondition
AdkParsingExceptionAdkParsingException is thrown if unable to parse the message
IOException IOException is thrown if an error is reported while reading the message content

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