CodeDomSerializer.SerializeEvents 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
序列化指定物件的所有事件。
protected:
void SerializeEvents(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeStatementCollection ^ statements, System::Object ^ value, cli::array <Attribute ^> ^ filter);
protected void SerializeEvents (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, Attribute[] filter);
member this.SerializeEvents : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeStatementCollection * obj * Attribute[] -> unit
Protected Sub SerializeEvents (manager As IDesignerSerializationManager, statements As CodeStatementCollection, value As Object, filter As Attribute())
參數
- manager
- IDesignerSerializationManager
要在序列化期間使用的序列化管理員。
- statements
- CodeStatementCollection
要新增序列化事件陳述式的陳述式集合。
- value
- Object
要序列化其事件的物件。
- filter
- Attribute[]
要套用至事件搜尋的成員屬性篩選。