共用方式為


DesignerSerializationManager.IDesignerSerializationManager.AddSerializationProvider 方法

定義

將自訂序列化提供者加入序列化管理員。

 virtual void System.ComponentModel.Design.Serialization.IDesignerSerializationManager.AddSerializationProvider(System::ComponentModel::Design::Serialization::IDesignerSerializationProvider ^ provider) = System::ComponentModel::Design::Serialization::IDesignerSerializationManager::AddSerializationProvider;
void IDesignerSerializationManager.AddSerializationProvider (System.ComponentModel.Design.Serialization.IDesignerSerializationProvider provider);
abstract member System.ComponentModel.Design.Serialization.IDesignerSerializationManager.AddSerializationProvider : System.ComponentModel.Design.Serialization.IDesignerSerializationProvider -> unit
override this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.AddSerializationProvider : System.ComponentModel.Design.Serialization.IDesignerSerializationProvider -> unit
Sub AddSerializationProvider (provider As IDesignerSerializationProvider) Implements IDesignerSerializationManager.AddSerializationProvider

參數

provider
IDesignerSerializationProvider

要加入的序列化提供者。

實作

備註

GetSerializer當方法用來要求串行化提供者時,串行化管理員會先查詢自定義串行化提供者,然後再查看適當串行化程式的型別元數據。

適用於

另請參閱