共用方式為


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

要序列化的物件。

適用於