Results 1 to 2 of 2

Thread: PropBag

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 1999
    Location
    Bethel, North Carolina, USA
    Posts
    987

    Question

    Can somebody give me a quick example of how to use the PropertyBag object correctly.
    {Insert random techno-babble here}

    {Insert quote from some long gone mofo here}

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Here's what MSDN has to say about it:

    A PropertyBag object holds information that is to be saved and restored across invocations of an object.

    Remarks:

    A PropertyBag object is passed into an object through the ReadProperties event and the WriteProperties event in order to save and restore the state of the object. Using the methods of the PropertyBag object, the object can read or write properties of itself. The ReadProperty method of the PropertyBag object is used to read a value for a property, while the WriteProperty method of the PropertyBag object is used to write a value of a property. The value of a property can itself be an object; in that case the PropertyBag object will attempt to save it.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width