[This is preliminary documentation and is subject to change.]
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.
| C# | Visual Basic | Visual C++ |
public static SifVersion ParseXmlns( string xmlns )
Public Shared Function ParseXmlns ( _ xmlns As String _ ) As SifVersion
public: static SifVersion^ ParseXmlns ( String^ xmlns )
- xmlns (String)
- A SIF xmlns attribute value (e.g. "http://www.sifinfo.org/v1.0r1/messages", "http://www.sifinfo.org/infrastructure/1x.", etc)
A SifVersion object encapsulating the version of SIF identified
by the xmlns value, or null if the xmlns is invalid