IPropertyBag2 Interface

Sets and retrieves values for particular properties. Extends, but does not inherit from, IPropertyBag. Adds methods to retrieve type information about a property. For more information, see IPropertyBag2.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("22F55882-280B-11D0-A8A9-00A0C90C2004")> _
<InterfaceTypeAttribute()> _
Public Interface IPropertyBag2
[GuidAttribute("22F55882-280B-11D0-A8A9-00A0C90C2004")]
[InterfaceTypeAttribute()]
public interface IPropertyBag2
[GuidAttribute(L"22F55882-280B-11D0-A8A9-00A0C90C2004")]
[InterfaceTypeAttribute()]
public interface class IPropertyBag2
[<GuidAttribute("22F55882-280B-11D0-A8A9-00A0C90C2004")>]
[<InterfaceTypeAttribute()>]
type IPropertyBag2 =  interface end
public interface IPropertyBag2

The IPropertyBag2 type exposes the following members.

Methods

  Name Description
Public method CountProperties The number of properties in the property bag.
Public method GetPropertyInfo Gets information for properties in a property bag without actually getting those properties.
Public method LoadObject Reads persistent properties from a property object.
Public method Read Reads one or more properties from the property bag.
Public method Write Saves properties into the property bag.

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace