DataSet.InferXmlSchema Method (String, String())

 

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

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

Public Sub InferXmlSchema (
	fileName As String,
	nsArray As String()
)

Parameters

fileName
Type: System.String

The name of the file (including the path) from which to read the schema.

nsArray
Type: 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: