ImportContext(CodeIdentifiers, Boolean) 建構函式

定義

初始化該類別的新實例 ImportContext ,針對給定的程式碼識別碼,並使用指定的型別共享選項。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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)

參數

identifiers
CodeIdentifiers

上下文所適用的程式碼實體。

shareTypes
Boolean

一個 Boolean 決定 schema 間是否共享自訂型別的值。

適用於