CodeDomSerializer.SerializePropertiesToResources Method

Definition

Serializes the specified properties to resources.

protected:
 void SerializePropertiesToResources(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeStatementCollection ^ statements, System::Object ^ value, cli::array <Attribute ^> ^ filter);
protected void SerializePropertiesToResources (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, Attribute[] filter);
member this.SerializePropertiesToResources : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeStatementCollection * obj * Attribute[] -> unit
Protected Sub SerializePropertiesToResources (manager As IDesignerSerializationManager, statements As CodeStatementCollection, value As Object, filter As Attribute())

Parameters

manager
IDesignerSerializationManager

The serialization manager to use during serialization.

statements
CodeStatementCollection

A collection of statements to use during serialization. The resource serializer uses this to write resource creation statements, but will not have individual property assign statements because all the properties are serialized to a resource.

value
Object

The object to deserialize properties for.

filter
Attribute[]

An optional filter to apply to the properties.

Applies to