|
|
|
SftDirectory.Direct Property |
Returns an ISftDirectoryVTable interface pointer.
Syntax
VB.NET |
refSftDirectoryVObj = object.Direct As ISftDirectoryVTable |
||
VB |
Set refSftDirectoryVObj = object.Direct As SftDirectoryVTable |
||
C#.NET |
ISftDirectoryVTable refSftDirectoryVObj = object.Direct; |
||
VC++ |
ISftDirectoryVTable* refSftDirectoryVObj = object->Direct;
|
||
C |
HRESULT object->get_Direct(ISftDirectoryVTable** refSftDirectoryVObj); |
||
Delphi |
refSftDirectoryVObj := object.Direct : ISftDirectoryVTable; |
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.