Table of Contents

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 = 0

An empty value (VT_EMPTY).

Null = 1

A null value (VT_NULL).

Int16 = 2

A signed 16-bit integer (VT_I2).

Int32 = 3

A signed 32-bit integer (VT_I4).

Float32 = 4

A 32-bit IEEE floating-point value (VT_R4).

Float64 = 5

A 64-bit IEEE floating-point value (VT_R8).

Variant = 12

A self-describing variant element (VT_VARIANT), used within variant vectors.

Currency = 6

A currency value (VT_CY), surfaced as decimal.

Date = 7

An OLE automation date (VT_DATE), surfaced as DateTimeOffset.

BinaryString = 8

A length-prefixed code-page string (VT_BSTR).

Boolean = 11

A boolean value (VT_BOOL).

Int8 = 16

A signed 8-bit integer (VT_I1).

UInt8 = 17

An unsigned 8-bit integer (VT_UI1).

UInt16 = 18

An unsigned 16-bit integer (VT_UI2).

UInt32 = 19

An unsigned 32-bit integer (VT_UI4).

Int64 = 20

A signed 64-bit integer (VT_I8).

UInt64 = 21

An unsigned 64-bit integer (VT_UI8).

AnsiString = 30

A length-prefixed ANSI string decoded with the section code page (VT_LPSTR).

UnicodeString = 31

A length-prefixed UTF-16 string (VT_LPWSTR).

FileTime = 64

A Windows FILETIME (VT_FILETIME), surfaced as DateTimeOffset or TimeSpan.

Blob = 65

An opaque length-prefixed binary blob (VT_BLOB).

ClipboardData = 71

Clipboard 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

ProductVersions
.NET8, 10