[This is preliminary documentation and is subject to change.]
Encapsulates a SIF version number.
The Adk uses instances of SifVersion rather than strings to identify
versions of SIF. Typically you do not need to obtain a SifVersion instance
directly except for when initializing the class framework with the
Adk.initialize method. Rather, classes for which SIF version is
a property, such as SifDataObject and Query, provide a getSIFVersion
method to obtain the version associated with an object.
| C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class SifVersion : IComparable
<SerializableAttribute> _ Public Class SifVersion _ Implements IComparable
[SerializableAttribute] public ref class SifVersion : IComparable
| All Members | Methods | Properties | Fields | ||
| Icon | Member | Description |
|---|---|---|
| CompareTo(Object) | Compare this version to another | |
| GetLatest(Int32) |
Returns the latest SIFVersion supported by the ADK for the major version
number of SIF specified. For example, passing the value 1 returns
SifVersion.15r1 | |
| GreaterThan(SifVersion, SifVersion) | ||
| GreaterThanOrEqual(SifVersion, SifVersion) | ||
| LATEST | Identifies the latest SIF Specification supported by the SIFWorks Adk | |
| LessThan(SifVersion, SifVersion) | ||
| LessThanOrEqual(SifVersion, SifVersion) | ||
| Major | Gets the major version number | |
| Minor | Gets the minor version number | |
| Parse(String) | Parse a SifVersion from a string | |
| ParseXmlns(String) | Parse a SifVersion from a xmlns attribute value
If the xmlns attribute is in the form "http://www.sifinfo.org/v1.0r1/messages",
the version identified by the namespace is returned (e.g. "1.0r1"). If the
xmlns attribute is in the form "http://www.sifinfo.org/infrastructure/1.x",
the latest version of SIF identified by the major version number is
returned.
| |
| Revision | Gets the revision number | |
| SIF11 | Identifies the SIF 1.1 Specification | |
| SIF15r1 | Identifies the SIF 1.5r1 Specification | |
| SIF20 | Identifies the SIF 2.0 Specification | |
| SIF20r1 | Identifies the SIF 2.0r1 Specification | |
| SIF21 | Identifies the SIF 2.0 Specification | |
| ToString()() | Gets the string representation of the version (Overrides Object.ToString()().) | |
| ToSymbol()() | Gets the string representation of the version using an underscore instead
of a period as the delimiter
| |
| Xmlns | Get the SIF namespace for this version of the specification.
|
| Object | |
| SifVersion | |