ImportContext Constructor (CodeIdentifiers, Boolean)


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

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

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public ImportContext(
	CodeIdentifiers identifiers,
	bool shareTypes


Type: System.Xml.Serialization.CodeIdentifiers

The code entities to which the context applies.

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top