mscorlib(4.0.0.0) API with additions
XmlSchemaDocumentation.cs
2 
3 namespace System.Xml.Schema
4 {
7  {
8  private string source;
9 
10  private string language;
11 
12  private XmlNode[] markup;
13 
14  private static XmlSchemaSimpleType languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language", "http://www.w3.org/2001/XMLSchema"));
15 
18  [XmlAttribute("source", DataType = "anyURI")]
19  public string Source
20  {
21  get
22  {
23  return source;
24  }
25  set
26  {
27  source = value;
28  }
29  }
30 
33  [XmlAttribute("xml:lang")]
34  public string Language
35  {
36  get
37  {
38  return language;
39  }
40  set
41  {
42  language = (string)languageType.Datatype.ParseValue(value, null, null);
43  }
44  }
45 
48  [XmlText]
49  [XmlAnyElement]
50  public XmlNode[] Markup
51  {
52  get
53  {
54  return markup;
55  }
56  set
57  {
58  markup = value;
59  }
60  }
61  }
62 }
string Source
Gets or sets the Uniform Resource Identifier (URI) source of the information.
Represents the documentation element from XML Schema as specified by the World Wide Web Consortium (W...
XmlSchemaDatatype Datatype
Gets the post-compilation value for the data type of the complex type.
Definition: __Canon.cs:3
Represents the root class for the Xml schema object model hierarchy and serves as a base class for cl...
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
Definition: XmlAttribute.cs:7
string Language
Gets or sets the xml:lang attribute. This serves as an indicator of the language used in the contents...
XmlNode [] Markup
Gets or sets an array of XmlNodes that represents the documentation child nodes.
Represents an XML qualified name.
Represents the text content of an element or attribute.
Definition: XmlText.cs:6
Represents the simpleType element for simple content from XML Schema as specified by the World Wide W...
Represents a single node in the XML document.
Definition: XmlNode.cs:13
abstract object ParseValue(string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr)
When overridden in a derived class, validates the string specified against a built-in or user-defined...