Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ValueType

override Type System.Xml.XPath.XPathNavigator.ValueType
getinherited

Definition at line 164 of file XPathNavigator.cs.

165 {
166 get
167 {
168 IXmlSchemaInfo schemaInfo = SchemaInfo;
169 if (schemaInfo != null)
170 {
171 if (schemaInfo.Validity == XmlSchemaValidity.Valid)
172 {
174 if (xmlSchemaType == null)
175 {
176 xmlSchemaType = schemaInfo.SchemaType;
177 }
178 if (xmlSchemaType != null)
179 {
180 XmlSchemaDatatype datatype = xmlSchemaType.Datatype;
181 if (datatype != null)
182 {
183 return datatype.ValueType;
184 }
185 }
186 }
187 else
188 {
190 if (xmlSchemaType != null)
191 {
192 XmlSchemaDatatype datatype = xmlSchemaType.Datatype;
193 if (datatype != null)
194 {
195 return datatype.ValueType;
196 }
197 }
198 }
199 }
200 return typeof(string);
201 }
202 }
virtual ? IXmlSchemaInfo SchemaInfo
XmlSchemaSimpleType? MemberType