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.

System.Object
   System.Xml.Schema.XmlSchemaObject
      System.Xml.Schema.XmlSchemaAnnotated
         System.Xml.Schema.XmlSchemaFacet
            Derived classes

[Visual Basic]
MustInherit Public Class XmlSchemaFacet
   Inherits XmlSchemaAnnotated
[C#]
public abstract class XmlSchemaFacet : XmlSchemaAnnotated
[C++]
public __gc __abstract class XmlSchemaFacet : public
   XmlSchemaAnnotated
[JScript]
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.

Remarks

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.

Example

See XmlSchemaEnumerationFacet for an example.

Requirements

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

Show: