共用方式為


CodeDomSerializer.SerializeResource 方法

定義

將指定的物件序列化為使用指定資源名稱的資源配套。

protected:
 void SerializeResource(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::String ^ resourceName, System::Object ^ value);
protected void SerializeResource (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, string resourceName, object value);
member this.SerializeResource : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * string * obj -> unit
Protected Sub SerializeResource (manager As IDesignerSerializationManager, resourceName As String, value As Object)

參數

resourceName
String

要將 value 序列化為的資源配套名稱。

value
Object

要序列化的物件。

適用於