EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

PROPBAG2 Structure

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
Pointer to a string 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

Header and IDL files Ocidl.h, Ocidl.idl
Minimum availability Internet Explorer 95
Minimum operating systems Windows NT 4.0, Windows 95

See Also

PROPBAG2_TYPE

Aggiunte alla community

Mostra:
© 2014 Microsoft