Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
 XmlSchemaImporter Constructor (XmlS...
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
XmlSchemaImporter Constructor (XmlSchemas, CodeIdentifiers)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the XmlSchemaImporter class, taking a collection of XmlSchema objects that represents the XML schemas used by SOAP literal messages, plus classes being generated for bindings defined in a Web Services Description Language (WSDL) document.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)
Visual Basic
Public Sub New ( _
    schemas As XmlSchemas, _
    typeIdentifiers As CodeIdentifiers _
)
C#
public XmlSchemaImporter(
    XmlSchemas schemas,
    CodeIdentifiers typeIdentifiers
)
Visual C++
public:
XmlSchemaImporter(
    XmlSchemas^ schemas, 
    CodeIdentifiers^ typeIdentifiers
)
F#
new : 
        schemas:XmlSchemas * 
        typeIdentifiers:CodeIdentifiers -> XmlSchemaImporter

Parameters

schemas
Type: System.Xml.Serialization..::.XmlSchemas
An XmlSchemas object.
typeIdentifiers
Type: System.Xml.Serialization..::.CodeIdentifiers
A CodeIdentifiers object that specifies a collection of classes being generated for bindings defined in a WSDL document.

Use this constructor when a WSDL document specifies that the data is serialized according to a schema (<soap:body use = 'literal' />).

Instead of directly creating an instance of the XmlSchemaImporter class, use Wsdl.exe or Xsd.exe.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker