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使用 方法请求序列化提供程序时,序列化管理器首先查询自定义序列化提供程序,然后查找相应序列化程序的类型的元数据。

适用于

另请参阅