OlePropertyType Enum
Definition
- Namespace
- Bodu.IO.Compound.PropertySets
- Assembly
- Bodu.IO.Compound.dll
- Package
- Bodu.IO.Compound 1.0.0
- Source
- OlePropertyType.cs
Identifies the scalar value type carried by an OlePropertyValue, corresponding to the COM
VARENUM (VT_*) constants used in OLE property sets.
public enum OlePropertyType : ushort
- Extension Methods
Fields
Empty = 0An empty value (
VT_EMPTY).Null = 1A null value (
VT_NULL).Int16 = 2A signed 16-bit integer (
VT_I2).Int32 = 3A signed 32-bit integer (
VT_I4).Float32 = 4A 32-bit IEEE floating-point value (
VT_R4).Float64 = 5A 64-bit IEEE floating-point value (
VT_R8).Variant = 12A self-describing variant element (
VT_VARIANT), used within variant vectors.Currency = 6A currency value (
VT_CY), surfaced as decimal.Date = 7An OLE automation date (
VT_DATE), surfaced as DateTimeOffset.BinaryString = 8A length-prefixed code-page string (
VT_BSTR).Boolean = 11A boolean value (
VT_BOOL).Int8 = 16A signed 8-bit integer (
VT_I1).UInt8 = 17An unsigned 8-bit integer (
VT_UI1).UInt16 = 18An unsigned 16-bit integer (
VT_UI2).UInt32 = 19An unsigned 32-bit integer (
VT_UI4).Int64 = 20A signed 64-bit integer (
VT_I8).UInt64 = 21An unsigned 64-bit integer (
VT_UI8).AnsiString = 30A length-prefixed ANSI string decoded with the section code page (
VT_LPSTR).UnicodeString = 31A length-prefixed UTF-16 string (
VT_LPWSTR).FileTime = 64A Windows FILETIME (
VT_FILETIME), surfaced as DateTimeOffset or TimeSpan.Blob = 65An opaque length-prefixed binary blob (
VT_BLOB).ClipboardData = 71Clipboard data (
VT_CF), surfaced as a byte array.
Remarks
These values are the base (scalar) type only; the vector modifier (VT_VECTOR) is surfaced separately through
IsVector.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |