CodeDomSerializerBase.SerializeResource Method (IDesignerSerializationManager, String, Object)
Serializes the given object into a resource bundle using the given resource name.
Assembly: System.Design (in System.Design.dll)
protected void SerializeResource( IDesignerSerializationManager manager, string resourceName, object value )
The IDesignerSerializationManager to use for serialization.
The name of the resource bundle into which value will be serialized.
The object to serialize.
The Properties collection for a property called ResourceCulture. If this property exists, resources will be written to that culture. Otherwise, resources will be written to the invariant culture. The value parameter must be serializable.method is a helper method that serializes a value to a resource bundle under the given name. The culture that the resource is written to is determined by searching the serialization manager’s
Notes to Callers:
ResourceCulture is a read-write property that is accessed through the serialization manager’s Properties collection. The method never changes the value of this property; it merely reads it to identify the culture to which it will write. The property is set during deserialization as resources are parsed and loaded.
Available since 2.0