Contains or receives property information.
Syntax
typedef struct _tagPROPBAG2{
    DWORD dwType; 
    VARTYPE vt; 
    CLIPFORMAT cfType; 
    DWORD dwHint; 
    LPOLESTR pstrName; 
    CLSID clsid; 
} PROPBAG2;
Members
- dwType
- Type of property. This will be one of the PROPBAG2_TYPE values.
- vt
- VARIANT type of the property.
- cfType
- Clipboard format or MIME type of the property.
- dwHint
- Property name integer. If possible, this member will be filled by IPropertyBag2::GetPropertyInfo and can be used with IPropertyBag2::Read and IPropertyBag2::Write to accelerate the read or write operation. These values are not valid outside the property bag that created them.
- pstrName
- Address of an OLESTR that specifies the property name.
- clsid
- CLSID of the object. This member is valid only if dwType is PROPBAG2_TYPE_OBJECT.
Remarks
The PROPBAG2 structure is used with the IPropertyBag2::GetPropertyInfo, IPropertyBag2::Read, and IPropertyBag2::Write methods.
Structure Information
Windows NT Use version 4.0 Windows Use Windows 95 and later Header Ocidl.h; Ocidl.idl Minimum availability Windows 95, Windows NT 4.0 
See Also