Enumerates and persists all properties of a control including sub properties.
[Visual Basic] Protected Function PersistProperties( _ ByVal strPrefix As String, _ ByVal parent As Object, _ ByVal propDesc As PropertyDescriptor _ ) As String [C#] protected string PersistProperties( string strPrefix, object parent, PropertyDescriptor propDesc ); [C++] protected: String* PersistProperties( String* strPrefix, Object* parent, PropertyDescriptor* propDesc ); [JScript] protected function PersistProperties( strPrefix : String, parent : Object, propDesc : PropertyDescriptor ) : String;
Properties will be persisted in the format used in the following examples.
A property B of object A and control C with value "new value" would be persisted as A_B_C = "new value". A function would return the persisted attribute string "A_B_C".
UserControlDesigner Class | UserControlDesigner Members | System.Web.UI.Design Namespace