ImportContext(CodeIdentifiers, Boolean) Konstruktor

Definisi

Menginisialisasi instans ImportContext baru kelas untuk pengidentifikasi kode yang diberikan, dengan opsi berbagi jenis yang diberikan.

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

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)

Parameter

identifiers
CodeIdentifiers

Entitas kode tempat konteks berlaku.

shareTypes
Boolean

Nilai Boolean yang menentukan apakah jenis kustom dibagikan di antara skema.

Berlaku untuk