共用方式為


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[]

要套用至屬性搜尋的成員屬性篩選。

適用於