XmlSchemaSimpleContentRestriction — System.Xml.Schema (system.xml.dll)    class 


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 XmlSchemaAttributes and XmlSchemaAttributeGroupRefs. The Facets property returns an XmlSchemaObjectCollection of the XmlSchemaFacets that restrict its text content.



Get .NET & XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.