Storages & Files GetVar
GetVar method

Reads a variable from the filter's buffer (from the current position in the buffer).


variable = object.GetVar(type, size)


type - A numeric constant. Specifies the type of the value to be read. See the type constants.

size - Size is used only if the type constant does not define the type's size implicitly. Currently this value is not ignored only for strings.

returned result: The value read from the buffer.


This method is for low level access to the data contained in the filter's buffer and as consequence the data in a stream if the filter is used for low level access to a stream.

Applies to: SFFilter object

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later


newObjects Copyright 2001-2006 newObjects [ ]