Name
XmlSchemaSimpleContentRestriction — System.Xml.Schema (system.xml.dll) class
Synopsis
public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { // Public Constructors public XmlSchemaSimpleContentRestriction( ); // Public Instance Properties public XmlSchemaAnyAttribute AnyAttribute{set; get; } public XmlSchemaObjectCollection Attributes{get; } public XmlSchemaSimpleType BaseType{set; get; } public XmlQualifiedName BaseTypeName{set; get; } public XmlSchemaObjectCollection Facets{get; } }
This type represents
the xs:restriction
XML Schema type for simple
content, which allows for the creation of a new simple type with
additional constraints on its attributes and on its text content. The
BaseTypeName
property is used to access the
System.Xml.XmlQualifiedName
of the type being
extended, and the Attributes
property returns an
XmlSchemaObjectCollection
of attributes as
XmlSchemaAttribute
s and
XmlSchemaAttributeGroupRef
s. The
Facets
property returns an
XmlSchemaObjectCollection
of the
XmlSchemaFacet
s that restrict its text
content.
Hierarchy
System.Object
→ XmlSchemaObject
→ XmlSchemaAnnotated
→ XmlSchemaContent
→
XmlSchemaSimpleContentRestriction
Get .NET & XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.