CodeDomSerializer.SerializeProperties 方法

定义

使用指定的筛选器,对指定对象的所有属性进行序列化。

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

参数

manager
IDesignerSerializationManager

要在序列化过程中使用的序列化管理器。

statements
CodeStatementCollection

要向其添加序列化属性语句的语句集合。

value
Object

要对其属性进行序列化的对象。

filter
Attribute[]

要应用于属性搜索的成员特性筛选器。

适用于