SIFWorks ADK 2.0
SifFormatter Class
NamespacesEdustructures.SifWorksSifFormatter

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

Contains functions helpful for converting data to and from native datatypes to SIF datatypes
Declaration Syntax
C#Visual BasicVisual C++
public abstract class SifFormatter
Public MustInherit Class SifFormatter
public ref class SifFormatter abstract
Members
All MembersMethodsProperties



IconMemberDescription
Encoding
Returns the Encoding implementation used to encode SIF XML documents to binary transports

GetContent(SifElement, SifVersion)
Gets the content from the SIFElement for the specified version of SIF. Only elements that apply to the requested version of SIF will be returned.

GetFields(SifElement, SifVersion)
Gets the fields from the SIFElement for the specified version of SIF. Only the fields that apply to the requested version of SIF will be returned.

static memberGuidToSifRefID(Nullable<(Of <Guid>)>)
Converts a Guid to a string using the SIF format

static memberSifRefIDToGuid(String)
Converts a SIF RefId to a .Net Guid

SupportsNamespaces
Returns true if the formatter supports XML Namespaces. If this value returns true, XML Namespaces will be declared when writing SIF Elements, and the xsi:nil attribute will be enabled

ToBool(String)
Converts a SIF XML boolean value to a .Net
CopyC#
bool?
value

ToDate(String)
Converts a String XML representation of an XML date to a
CopyC#
DateTime?
value

ToDateString(Nullable<(Of <DateTime>)>)
Converts a
CopyC#
DateTime?
value to a String XML representation as an XML date

ToDateTime(String)
Converts a String XML representation of an XML datetime to a
CopyC#
DateTime?
value

ToDateTimeString(Nullable<(Of <DateTime>)>)
Converts a
CopyC#
DateTime?
value to a String XML representation as an XML dateTime

ToDecimal(String)
Converts a SIF XML decimal value to a .Net
CopyC#
decimal?
value

ToInt(String)
Converts a SIF XML integer value to a .Net
CopyC#
int?
value

ToString(Nullable<(Of <Int32>)>)
Converts an
CopyC#
int?
value to a String XML representation as an XML int

ToString(Nullable<(Of <Decimal>)>)
Converts a
CopyC#
Decimal?
value to a String XML representation as an XML Decimal

ToString(Nullable<(Of <Boolean>)>)
Converts a
CopyC#
DateTime?
value to a String XML representation as an XML dateTime

ToString(Nullable<(Of <TimeSpan>)>)
Converts a
CopyC#
TimeSpan?
value to a String XML representation as an XML duration

ToTime(String)
Converts a String XML representation of an XML time to a
CopyC#
DateTime?
value

ToTimeSpan(String)
Converts a SIF XML duration value to a .NET
CopyC#
TimeSpan?
valueS

ToTimeString(Nullable<(Of <DateTime>)>)
Converts a
CopyC#
DateTime?
value to a String XML representation as an XML dateTime

Inheritance Hierarchy
Object
SifFormatter

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