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

◆ Add() [8/9]

XmlSchema? System.Xml.Schema.XmlSchemaCollection.Add ( XmlSchema schema,
XmlResolver? resolver )
inline

Definition at line 148 of file XmlSchemaCollection.cs.

149 {
150 if (schema == null)
151 {
152 throw new ArgumentNullException("schema");
153 }
154 SchemaInfo schemaInfo = new SchemaInfo();
155 schemaInfo.SchemaType = SchemaType.XSD;
156 return Add(schema.TargetNamespace, schemaInfo, schema, compile: true, resolver);
157 }

References System.Add, and System.Xml.Dictionary.