Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.Direct Property

Returns an ISftDirectoryVTable interface pointer.

Syntax

Get

VB.NETrefSftDirectoryVObj = object.Direct As ISftDirectoryVTable
VBSet refSftDirectoryVObj = object.Direct As SftDirectoryVTable
C#.NETISftDirectoryVTable refSftDirectoryVObj = object.Direct;
VC++ISftDirectoryVTable* refSftDirectoryVObj = object->Direct;
ISftDirectoryVTable* refSftDirectoryVObj = object->GetDirect();
CHRESULT object->get_Direct(ISftDirectoryVTable** refSftDirectoryVObj);

object

A SftDirectory object.

refSftDirectoryVObj

Returns an ISftDirectoryVTable interface pointer.

Comments

The Direct property returns an ISftDirectoryVTable interface pointer.

The ISftDirectoryVTable interface describes a SftDirectory object (i.e. the control itself). It is used in Visual Basic to insure that vtable binding is used. Visual Basic uses dispatch interface binding (early and late) when a SftDirectory object is used (i.e. the control). By retrieving the ISftDirectoryVTable interface, Visual Basic can use vtable binding which is significantly faster than any form of dispatch interface binding.

Any SftDirectory control that is used with Visual Basic should use the ISftDirectoryVTable interface if performance is important. Visual Basic uses vtable binding for all other SftDirectory objects (such as Folder, Column, etc.). Visual Basic will however use dispatch interface binding for the control object (SftDirectory).

The ISftDirectoryVTable interface exposes all properties and methods that are supported by the SftDirectory object and is identical to the ISftDirectory interface.

Other languages (such as C++) can use the SftDirectory object directly and do not need to retrieve the ISftDirectoryVTable interface. The ISftDirectory interface which implements the SftDirectory object is a dual interface.

See Also SftDirectory Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.