ImportContext(CodeIdentifiers, Boolean) Constructor

Definition

Initializes a new instance of the ImportContext class for the given code identifiers, with the given type-sharing option.

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

public:
 ImportContext(System::Xml::Serialization::CodeIdentifiers ^ identifiers, bool shareTypes);
public ImportContext (System.Xml.Serialization.CodeIdentifiers? identifiers, bool shareTypes);
public ImportContext (System.Xml.Serialization.CodeIdentifiers identifiers, bool shareTypes);
new System.Xml.Serialization.ImportContext : System.Xml.Serialization.CodeIdentifiers * bool -> System.Xml.Serialization.ImportContext
Public Sub New (identifiers As CodeIdentifiers, shareTypes As Boolean)

Parameters

identifiers
CodeIdentifiers

The code entities to which the context applies.

shareTypes
Boolean

A Boolean value that determines whether custom types are shared among schema.

Applies to