This documentation is archived and is not being maintained.

XmlSchemaFacet Class

Abstract class for all facets that are used when simple types are derived by restriction.

For a list of all members of this type, see XmlSchemaFacet Members.

            Derived classes

[Visual Basic]
MustInherit Public Class XmlSchemaFacet
   Inherits XmlSchemaAnnotated
public abstract class XmlSchemaFacet : XmlSchemaAnnotated
public __gc __abstract class XmlSchemaFacet : public
public abstract class XmlSchemaFacet extends XmlSchemaAnnotated

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


A facet is defined as an element. Each facet element has a fixed attribute that is a Boolean value. All the facets for a simple type together define the set of legal values for that simple type.


See XmlSchemaEnumerationFacet for an example.


Namespace: System.Xml.Schema

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Xml (in System.Xml.dll)

See Also

XmlSchemaFacet Members | System.Xml.Schema Namespace