Definition at line 122 of file XDRSchema.cs.
123 {
124 if (XMLSchema.FEqualIdentity(
node,
"ElementType",
"urn:schemas-microsoft-com:xml-data"))
125 {
127 }
129 if (XMLSchema.FEqualIdentity(
node,
"element",
"urn:schemas-microsoft-com:xml-data") || XMLSchema.FEqualIdentity(
node,
"attribute",
"urn:schemas-microsoft-com:xml-data"))
130 {
132 {
133 return null;
134 }
138 {
139 if (((XMLSchema.FEqualIdentity(
xmlNode,
"ElementType",
"urn:schemas-microsoft-com:xml-data") && XMLSchema.FEqualIdentity(
node,
"element",
"urn:schemas-microsoft-com:xml-data")) || (XMLSchema.FEqualIdentity(
xmlNode,
"AttributeType",
"urn:schemas-microsoft-com:xml-data") && XMLSchema.FEqualIdentity(
node,
"attribute",
"urn:schemas-microsoft-com:xml-data"))) &&
xmlNode is XmlElement && ((
XmlElement)
xmlNode).
GetAttribute(
"name") ==
attribute)
140 {
142 }
143 if (
xmlNode.FirstChild !=
null)
144 {
146 continue;
147 }
148 if (
xmlNode.NextSibling !=
null)
149 {
151 continue;
152 }
154 {
156 if (
xmlNode.NextSibling !=
null)
157 {
159 break;
160 }
161 }
162 }
163 return null;
164 }
165 return null;
166 }
virtual string GetAttribute(string name)
virtual ? XmlNode ParentNode
virtual ? XmlNode NextSibling
virtual ? XmlDocument OwnerDocument
virtual ? XmlNode FirstChild
References System.Xml.Dictionary, System.Data.XMLSchema.FEqualIdentity(), System.Xml.XmlNode.FirstChild, System.Xml.XmlElement.GetAttribute(), System.Xml.XmlNode.NextSibling, System.Xml.XmlNode.OwnerDocument, and System.Xml.XmlNode.ParentNode.
Referenced by System.Data.XDRSchema.HandleColumn(), and System.Data.XDRSchema.HandleTable().