Editar

Compartilhar via


XmlSerializerImportOptions Class

Definition

Contains information needed to perform schema importation using the XmlSerializer and ServiceDescriptionImporter infrastructure.

public ref class XmlSerializerImportOptions
public class XmlSerializerImportOptions
type XmlSerializerImportOptions = class
Public Class XmlSerializerImportOptions
Inheritance
XmlSerializerImportOptions

Remarks

The XmlSerializerImportOptions is used by the XmlSerializerMessageContractImporter. It is also used with the ServiceModel Metadata Utility Tool (Svcutil.exe) with the /useXmlSerializer (/uxs) switch.

Constructors

XmlSerializerImportOptions()

Initializes a new instance of the XmlSerializerImportOptions class.

XmlSerializerImportOptions(CodeCompileUnit)

Initializes a new instance of the XmlSerializerImportOptions class with the specified CodeCompileUnit.

Properties

ClrNamespace

Gets or sets the ClrNamespace property that contains the types being mapped to the XML namespace.

CodeCompileUnit

Gets the CodeCompileUnit object that provides a container for the System.CodeDom program graph.

CodeProvider

Gets or sets a CodeDomProvider object that checks whether particular options for a target language are supported.

WebReferenceOptions

Gets or sets the WebReferenceOptions object that contains the code generation options specified in the XML text file.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to