Merge pull request #920
[mono.git] / mcs / class / System.XML / Documentation / en / System.Xml.Schema / XmlSchemaSimpleType.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="XmlSchemaSimpleType" FullName="System.Xml.Schema.XmlSchemaSimpleType">
3   <TypeSignature Maintainer="auto" Language="C#" Value="public class XmlSchemaSimpleType : System.Xml.Schema.XmlSchemaType" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi XmlSchemaSimpleType extends System.Xml.Schema.XmlSchemaType" />
5   <AssemblyInfo>
6     <AssemblyName>System.Xml</AssemblyName>
7     <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
8     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
9     <AssemblyVersion>2.0.0.0</AssemblyVersion>
10     <AssemblyVersion>4.0.0.0</AssemblyVersion>
11   </AssemblyInfo>
12   <ThreadSafetyStatement>To be added</ThreadSafetyStatement>
13   <Base>
14     <BaseTypeName>System.Xml.Schema.XmlSchemaType</BaseTypeName>
15   </Base>
16   <Interfaces />
17   <Docs>
18     <remarks>
19       <attribution license="cc4" from="Microsoft" modified="false" />
20       <para>Simple types are defined by deriving them from existing simple types (built-in data types and derived simple types). A simple type cannot contain elements and cannot have attributes.</para>
21     </remarks>
22     <summary>
23       <attribution license="cc4" from="Microsoft" modified="false" />
24       <para>Represents the simpleType element for simple content from XML Schema as specified by the <format type="text/html"><a href="">World Wide Web Consortium (W3C)</a></format>. This class defines a simple type. Simple types can specify information and constraints for the value of attributes or elements with text-only content.</para>
25     </summary>
26   </Docs>
27   <Members>
28     <Member MemberName=".ctor">
29       <MemberSignature Language="C#" Value="public XmlSchemaSimpleType ();" />
30       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
31       <MemberType>Constructor</MemberType>
32       <AssemblyInfo>
33         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
34         <AssemblyVersion>2.0.0.0</AssemblyVersion>
35         <AssemblyVersion>4.0.0.0</AssemblyVersion>
36       </AssemblyInfo>
37       <ReturnValue />
38       <Parameters />
39       <Docs>
40         <remarks>To be added</remarks>
41         <summary>
42           <attribution license="cc4" from="Microsoft" modified="false" />
43           <para>Initializes a new instance of the <see cref="T:System.Xml.Schema.XmlSchemaSimpleType" /> class.</para>
44         </summary>
45       </Docs>
46     </Member>
47     <Member MemberName="Content">
48       <MemberSignature Language="C#" Value="public System.Xml.Schema.XmlSchemaSimpleTypeContent Content { get; set; }" />
49       <MemberSignature Language="ILAsm" Value=".property instance class System.Xml.Schema.XmlSchemaSimpleTypeContent Content" />
50       <MemberType>Property</MemberType>
51       <AssemblyInfo>
52         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
53         <AssemblyVersion>2.0.0.0</AssemblyVersion>
54         <AssemblyVersion>4.0.0.0</AssemblyVersion>
55       </AssemblyInfo>
56       <Attributes>
57         <Attribute>
58           <AttributeName>System.Xml.Serialization.XmlElement("restriction", typeof(System.Xml.Schema.XmlSchemaSimpleTypeRestriction))</AttributeName>
59         </Attribute>
60         <Attribute>
61           <AttributeName>System.Xml.Serialization.XmlElement("list", typeof(System.Xml.Schema.XmlSchemaSimpleTypeList))</AttributeName>
62         </Attribute>
63         <Attribute>
64           <AttributeName>System.Xml.Serialization.XmlElement("union", typeof(System.Xml.Schema.XmlSchemaSimpleTypeUnion))</AttributeName>
65         </Attribute>
66       </Attributes>
67       <ReturnValue>
68         <ReturnType>System.Xml.Schema.XmlSchemaSimpleTypeContent</ReturnType>
69       </ReturnValue>
70       <Parameters />
71       <Docs>
72         <value>To be added: an object of type 'XmlSchemaSimpleTypeContent'</value>
73         <remarks>
74           <attribution license="cc4" from="Microsoft" modified="false" />
75           <para>The following table shows the ways in which simple types can be defined.</para>
76           <list type="table">
77             <listheader>
78               <item>
79                 <term>
80                   <para>Simple type </para>
81                 </term>
82                 <description>
83                   <para>Description </para>
84                 </description>
85               </item>
86             </listheader>
87             <item>
88               <term>
89                 <para>Restriction </para>
90               </term>
91               <description>
92                 <para>Restricts the range of values for the simple type to a subset of those for the inherited simple type. </para>
93               </description>
94             </item>
95             <item>
96               <term>
97                 <para>List </para>
98               </term>
99               <description>
100                 <para>Defines a simple type that contains a white space-separated list of values of an inherited simple type. </para>
101               </description>
102             </item>
103             <item>
104               <term>
105                 <para>Union </para>
106               </term>
107               <description>
108                 <para>Defines a simple type that contains a union of the values of two or more inherited simple types. </para>
109               </description>
110             </item>
111           </list>
112           <para />
113         </remarks>
114         <summary>
115           <attribution license="cc4" from="Microsoft" modified="false" />
116           <para>Gets or sets one of <see cref="T:System.Xml.Schema.XmlSchemaSimpleTypeUnion" />, <see cref="T:System.Xml.Schema.XmlSchemaSimpleTypeList" />, or <see cref="T:System.Xml.Schema.XmlSchemaSimpleTypeRestriction" />.</para>
117         </summary>
118       </Docs>
119     </Member>
120   </Members>
121 </Type>