| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub LoadSchema( _ ByVal reader As System.Xml.XmlReader, _ ByVal name As System.String _ ) | |
Parameters
- reader
- The System.Xml.XmlReader from which a schema definition is to be loaded.
- name
- The new schema definition name.
| Exception | Description |
|---|---|
| InvalidSchemaException | The schema definition is invalid. |
After loading the schema definition, this method performs validation of constraints.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2