Noda Time
Show / Hide Table of Contents

Class XmlSchemaDefinition

Provides XML schema types.
Since 3.0.x
Availability net6.0, net8.0, netstandard2.0
Inheritance
object
XmlSchemaDefinition
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NodaTime.Xml
Assembly: NodaTime.dll
Syntax
public static class XmlSchemaDefinition

Properties

NodaTimeXmlNamespace

Gets the XML namespace for all NodaTime types.
Since 3.0.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public static XmlQualifiedName NodaTimeXmlNamespace { get; }
Property Value
Type Description
XmlQualifiedName
Remarks
See [Namespaces in XML 1.1 (Second Edition)](https://www.w3.org/TR/xml-names11/).

NodaTimeXmlSchema

Gets the compiled XML schema describing the structure for all NodaTime types that implement the IXmlSerializable interface.
Since 3.0.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public static XmlSchema NodaTimeXmlSchema { get; }
Property Value
Type Description
XmlSchema
Remarks
All the pattern restrictions as regular expressions are not meant to fully validate the XML content, they only serve to describe the general shape of the XML content.
In this article
Back to top Generated by DocFX