Partager via


IPropertyBag2 Interface

Definition

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.

public interface class IPropertyBag2
public interface class IPropertyBag2
__interface IPropertyBag2
[System.Runtime.InteropServices.Guid("22F55882-280B-11D0-A8A9-00A0C90C2004")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPropertyBag2
[System.Runtime.InteropServices.Guid("22F55882-280B-11D0-A8A9-00A0C90C2004")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPropertyBag2
[<System.Runtime.InteropServices.Guid("22F55882-280B-11D0-A8A9-00A0C90C2004")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IPropertyBag2 = interface
[<System.Runtime.InteropServices.Guid("22F55882-280B-11D0-A8A9-00A0C90C2004")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPropertyBag2 = interface
Public Interface IPropertyBag2
Attributes

Methods

CountProperties(UInt32)

The number of properties in the property bag.

GetPropertyInfo(UInt32, UInt32, PROPBAG2[], UInt32)

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

LoadObject(String, UInt32, Object, IErrorLog)

Reads persistent properties from a property object.

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

Reads one or more properties from the property bag.

Write(UInt32, PROPBAG2[], Object)

Saves properties into the property bag.

Applies to