Use this to store an object that can persist itself.
[Visual Basic] Public Shared Function MakeIPersistable( _ ByVal service As IServiceObjectProvider, _ ByVal resourceName As String, _ ByVal className As String, _ ByVal ip As IPersistable, _ ByVal elems() As PropertyValue _ ) As PropertyValue [C#] public static PropertyValue MakeIPersistable( IServiceObjectProvider service, string resourceName, string className, IPersistable ip, PropertyValue[] elems ); [C++] public: static PropertyValue* MakeIPersistable( IServiceObjectProvider* service, String* resourceName, String* className, IPersistable* ip, PropertyValue* elems[] ); [JScript] public static function MakeIPersistable( service : IServiceObjectProvider, resourceName : String, className : String, ip : IPersistable, elems : PropertyValue[] ) : PropertyValue;
PropertyValue Class | PropertyValue Members | System.ComponentModel.Design Namespace