See Also: StatementContext Members
Usually, statements are serialized into the statement collection that is on the context stack. You can modify this behavior by creating a statement context and calling the erload:System.ComponentModel.Design.Serialization.ObjectStatementCollection.Populate method with a collection of objects whose statements you want stored in the statement table. As each object is serialized in the CodeDomSerializerBase.SerializeToExpression(IDesignerSerializationManager, object) method, it has its contents placed in the statement table and saved in the context. If you push this object on the stack, it is your responsibility to integrate the statements added to it into your own collection of statements.