次の方法で共有


CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) メソッド

定義

特定のオブジェクトをシリアル化して、CodeDOM オブジェクトを生成します。

public:
 abstract System::Object ^ Serialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ value);
public:
 virtual System::Object ^ Serialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ value);
public abstract object Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value);
public virtual object Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value);
public virtual object? Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value);
abstract member Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
abstract member Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
override this.Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
Public MustOverride Function Serialize (manager As IDesignerSerializationManager, value As Object) As Object
Public Overridable Function Serialize (manager As IDesignerSerializationManager, value As Object) As Object

パラメーター

manager
IDesignerSerializationManager

シリアル化時に使用するシリアル化マネージャー。

value
Object

シリアル化するオブジェクト。

戻り値

シリアル化されたオブジェクトを表す CodeDOM オブジェクト。

例外

manager または valuenull です。

適用対象