Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Direct Property, SftTree Object

Returns an ISftTreeVTable interface pointer.

Syntax

Get

VB.NETrefSftTreeVObj = object.Direct As ISftTreeVTable
VBSet refSftTreeVObj = object.Direct As SftTreeVTable
C#.NETISftTreeVTable refSftTreeVObj = object.Direct;
VC++ISftTreeVTable* refSftTreeVObj = object->Direct;
ISftTreeVTable* refSftTreeVObj = object->GetDirect();
CHRESULT object->get_Direct(ISftTreeVTable** refSftTreeVObj);

object

A SftTree object.

refSftTreeVObj

Returns an ISftTreeVTable interface pointer.

Comments

The Direct property returns an ISftTreeVTable interface pointer.

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

Any SftTree/OCX control that is used with Visual Basic should use the ISftTreeVTable interface if performance is important. Visual Basic uses vtable binding for all other SftTree objects (such as Items, Cell, etc.). Visual Basic will however use dispatch interface binding for the control object (SftTree).

The ISftTreeVTable interface exposes all properties and methods that are supported by the SftTree object.

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

See Also SftTree Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.