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

要序列化的对象。

适用于