Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeDomSerializer.SerializePropertiesToResources Method

.NET Framework 1.1

Serializes the specified properties to resources.

[Visual Basic]
Protected Sub SerializePropertiesToResources( _
   ByVal manager As IDesignerSerializationManager, _
   ByVal statements As CodeStatementCollection, _
   ByVal value As Object, _
   ByVal filter() As Attribute _
protected void SerializePropertiesToResources(
 IDesignerSerializationManager manager,
 CodeStatementCollection statements,
 object value,
 Attribute[] filter
protected: void SerializePropertiesToResources(
 IDesignerSerializationManager* manager,
 CodeStatementCollection* statements,
 Object* value,
 Attribute* filter[]
protected function SerializePropertiesToResources(
   manager : IDesignerSerializationManager,
 statements : CodeStatementCollection,
 value : Object,
 filter : Attribute[]


The serialization manager to use during serialization.
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.
The object to deserialize properties for.
An optional filter to apply to the properties.


This method will inspect all of the properties on the specified object that fits the filter, and check for that property within resource data. This is useful for deserializing properties that cannot be represented in code, such as design time properties.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

CodeDomSerializer Class | CodeDomSerializer Members | System.ComponentModel.Design.Serialization Namespace

© 2015 Microsoft