Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ImportContext Constructor
Collapse the table of content
Expand the table of content

ImportContext Constructor

This API supports the .NET Framework 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
)

Parameters

identifiers
Type: System.Xml.Serialization.CodeIdentifiers

The code entities to which the context applies.

shareTypes
Type: System.Boolean

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft