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 _
)
[C#]
protected void SerializePropertiesToResources(
 IDesignerSerializationManager manager,
 CodeStatementCollection statements,
 object value,
 Attribute[] filter
);
[C++]
protected: void SerializePropertiesToResources(
 IDesignerSerializationManager* manager,
 CodeStatementCollection* statements,
 Object* value,
 Attribute* filter[]
);
[JScript]
protected function SerializePropertiesToResources(
   manager : IDesignerSerializationManager,
 statements : CodeStatementCollection,
 value : Object,
 filter : Attribute[]
);

Parameters

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

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft