DataSet::InferXmlSchema Method (String^, array<String^>^)
.NET Framework (current version)
Applies the XML schema from the specified file to the DataSet.
Assembly: System.Data (in System.Data.dll)
Parameters
- fileName
-
Type:
System::String^
The name of the file (including the path) from which to read the schema.
- nsArray
-
Type:
array<System::String^>^
An array of namespace Uniform Resource Identifier (URI) strings to be excluded from schema inference.
| Exception | Condition |
|---|---|
| SecurityException | FileIOPermission is not set to Read. |
FileIOPermission
For reading and writing files. Associated enumeration: FileIOPermissionAccess.
.NET Framework
Available since 1.1
Available since 1.1
Show: