Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataSet::InferXmlSchema Method (String^, array<String^>^)

 

Applies the XML schema from the specified file to the DataSet.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public:
void InferXmlSchema(
	String^ fileName,
	array<String^>^ nsArray
)

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
Return to top
Show:
© 2017 Microsoft