InferXmlSchema Method (String, String[])
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft