CodeDomSerializer.SerializeResourceInvariant 方法

定义

使用固定区域性将给定对象序列化为使用给定资源名称的资源包。

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

参数

resourceName
String

value 将被序列化到的资源包的名称。

value
Object

要序列化的对象。

适用于