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)

[GuidAttribute("22F55882-280B-11D0-A8A9-00A0C90C2004")]
[InterfaceTypeAttribute(1)]
public interface IPropertyBag2

NameDescription
System_CAPS_pubmethodCountProperties(UInt32)

The number of properties in the property bag.

System_CAPS_pubmethodGetPropertyInfo(UInt32, UInt32, PROPBAG2[], UInt32)

Gets information for properties in a property bag without actually getting those properties.

System_CAPS_pubmethodLoadObject(String, UInt32, Object, IErrorLog)

Reads persistent properties from a property object.

System_CAPS_pubmethodRead(UInt32, PROPBAG2[], IErrorLog, Object, Int32)

Reads one or more properties from the property bag.

System_CAPS_pubmethodWrite(UInt32, PROPBAG2[], Object)

Saves properties into the property bag.

Return to top
Show: