Click or drag to resize

PropertyType Enumeration

Defines Windows PROPVARIANT structure type tag.

Namespace:  ShellBoost.Core.WindowsPropertySystem
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
[FlagsAttribute]
public enum PropertyType
Members
  Member nameValueDescription
VT_EMPTY0 A property with a type indicator of VT_EMPTY has no data associated with it; that is, the size of the value is zero.
VT_NULL1 This is like a pointer to NULL.
VT_I22 Two bytes representing a 2-byte signed integer value.
VT_I43 4-byte signed integer value.
VT_R44 32-bit IEEE floating point value.
VT_R85 64-bit IEEE floating point value.
VT_CY6 8-byte two's complement integer (scaled by 10,000). This type is commonly used for currency amounts.
VT_DATE7 A 64-bit floating point number representing the number of days (not seconds) since December 31, 1899. For example, January 1, 1900, is 2.0, January 2, 1900, is 3.0, and so on). This is stored in the same representation as VT_R8.
VT_BSTR8 Pointer to a null-terminated Unicode string. The string is immediately preceded by a DWORD representing the byte count.
VT_DISPATCH9 An IDispatch pointer.
VT_ERROR10 A 32-bit unsigned integer that contains a status code.
VT_BOOL11 Boolean value, a 16-bit integer that contains 0 (FALSE) or -1 (TRUE).
VT_VARIANT12 A variant pointer.
VT_UNKNOWN13 An IUnknown pointer.
VT_DECIMAL14 A 16-bytes DECIMAL structure.
VT_I116 1-byte signed integer.
VT_UI117 1-byte unsigned integer.
VT_UI218 2-byte unsigned integer.
VT_UI419 4-byte unsigned integer.
VT_I820 8-byte signed integer.
VT_UI821 8-byte unsigned integer.
VT_INT22 4-byte signed integer value (equivalent to VT_I4).
VT_UINT23 4-byte unsigned integer (equivalent to VT_UI4).
VT_VOID24 A C-style void.
VT_HRESULT25 An HRESULT value.
VT_PTR26 A pointer type.
VT_SAFEARRAY27 A safe array. Use VT_ARRAY in VARIANT.
VT_CARRAY28 A C-style array.
VT_USERDEFINED29 A user-defined type.
VT_LPSTR30 A pointer to a null-terminated ANSI string in the system default code page.
VT_LPWSTR31 A pointer to a null-terminated Unicode string in the user default locale.
VT_RECORD36 A user-defined type.
VT_INT_PTR37 A signed machine register size width.
VT_UINT_PTR38 An unsigned machine register size width.
VT_FILETIME64 64-bit FILETIME structure as defined by Windows. It is recommended that all times be stored in Universal Coordinate Time (UTC).
VT_BLOB65 32-bit integer count of bytes, followed by that many bytes of data. The byte count does not include the four bytes for the length of the count itself; an empty blob member would have a count of zero, followed by zero bytes. This is similar to the value VT_BSTR, but does not guarantee a null byte at the end of the data.
VT_STREAM66 A pointer to an IStream interface that represents a stream which is a sibling to the "Contents" stream.
VT_STORAGE67 A pointer to an IStorage interface, representing a storage object that is a sibling to the "Contents" stream.
VT_STREAMED_OBJECT68 As in VT_STREAM, but indicates that the stream contains a serialized object, which is a CLSID followed by initialization data for the class. The stream is a sibling to the "Contents" stream that contains the property set.
VT_STORED_OBJECT69 As in VT_STORAGE, but indicates that the designated IStorage contains a loadable object.
VT_BLOB_OBJECT70 A blob member that contains a serialized object in the same representation that would appear in VT_STREAMED_OBJECT. That is, a 32-bit integer byte count (where the byte count does not include the size of itself) which is in the format of a class identifier followed by initialization data for that class. The only significant difference between VT_BLOB_OBJECT and VT_STREAMED_OBJECT is that the former does not have the system-level storage overhead that the latter would have, and is therefore more suitable for scenarios involving numbers of small objects.
VT_CF71 Pointer to a CLIPDATA structure.
VT_CLSID72 Pointer to a class identifier (CLSID) (or other globally unique identifier (GUID)).
VT_VERSIONED_STREAM73 A stream with a GUID version.
VT_BSTR_BLOB4095 For system use only.
VT_VECTOR4096 If the type indicator is combined with VT_VECTOR by using an OR operator, the value is one of the counted array values.
VT_ARRAY8192 If the type indicator is combined with VT_ARRAY by an OR operator, the value is a pointer to a SAFEARRAY.
VT_BYREF16384 If the type indicator is combined with VT_BYREF by an OR operator, the value is a reference
See Also