DekGenius.com
[ Team LiB ] Previous Section Next Section

XmlSchemaSimpleContentRestrictionSystem.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.

Hierarchy

System.Object XmlSchemaObject XmlSchemaAnnotated XmlSchemaContent XmlSchemaSimpleContentRestriction

    [ Team LiB ] Previous Section Next Section