CodeDomSerializerBase::SerializeResourceInvariant Method (IDesignerSerializationManager^, String^, Object^)
.NET Framework (current version)
Serializes the given object into a resource bundle using the given resource name.
Assembly: System.Design (in System.Design.dll)
protected: void SerializeResourceInvariant( IDesignerSerializationManager^ manager, String^ resourceName, Object^ value )
Parameters
- manager
-
Type:
System.ComponentModel.Design.Serialization::IDesignerSerializationManager^
The IDesignerSerializationManager to use for serialization.
- resourceName
-
Type:
System::String^
The name of the resource bundle into which value will be serialized.
- value
-
Type:
System::Object^
The object to serialize.
The resource is always written to the invariant culture. The value parameter must be serializable.
The SerializeResourceInvariant method requires an IResourceService to obtain a ResourceWriter to write resources for the correct culture. If this service is not available, SerializeResource will instead build a binary object in code that represents the resource.
.NET Framework
Available since 2.0
Available since 2.0
Show: