RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ILocateFileService Interface

ILocateFileService is the interface for accessing files that a WebSnap application uses when processing requests.

Pascal
ILocateFileService = interface;
C++
__interface ILocateFileService;

TLocateFileService components implement the ILocateFileService interface. This interface includes only a single method, GetTemplateStream, which returns a stream from which to read a specified file. By using the ILocateFileService interface, a WebSnap application can be more flexible in the way it locates files. 

To obtain an ILocateFileService interface, use the LocateFileService property of a TWebAppComponents object.

Note: In C++, method declarations that use ILocateFileService use the _di_ILocateFileService type instead. This type is a DelphiInterface wrapper around the ILocateFileService interface:
Note: typedef System::DelphiInterface< ILocateFileService > _di_ILocateFileService;
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!