Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.Search

TElDropboxDataStorage     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Performs search by filename.

Declaration

[C#/Java]
    void Search(string Path, string Query, bool IncludeDeleted, TElDataStorageObjectList Objects);
    void Search(string Path, string Query, TElDataStorageObjectList Objects);
    String[] Search(string Path, string Query, bool IncludeDeleted);
    String[] Search(string Path, string Query);

[VB.NET]
    Sub Search(ByVal Path As String, ByVal Query As String, ByVal IncludeDeleted As Boolean, ByVal Objects As TElDataStorageObjectList)
    Sub Search(ByVal Path As String, ByVal Query As String, ByVal Objects As TElDataStorageObjectList)
    Function Search(ByVal Path As String, ByVal Query As String, ByVal IncludeDeleted As Boolean) As String[]
    Function Search(ByVal Path As String, ByVal Query As String) As String[]

[Pascal]
    procedure Search(const Path : string; const Query : string; IncludeDeleted : boolean; Objects : TElDataStorageObjectList);
    procedure Search(const Path : string; const Query : string; Objects : TElDataStorageObjectList);

[C++]
    void Search(const std::string &Path, const std::string &Query, bool IncludeDeleted, TElDataStorageObjectList &Objects);
    void Search(const std::string &Path, const std::string &Query, bool IncludeDeleted, TElDataStorageObjectList *Objects);
    void Search(const std::string &Path, const std::string &Query, TElDataStorageObjectList &Objects);
    void Search(const std::string &Path, const std::string &Query, TElDataStorageObjectList *Objects);

[PHP]
    void Search(string $Path, string $Query, bool $IncludeDeleted, TElDataStorageObjectList $Objects)
    void Search(string $Path, string $Query, TElDataStorageObjectList $Objects)

Parameters

  • IncludeDeleted - set this parameter to True to also search for deleted files and folders.
  • Objects - the list of objects that match the query.
  • Path - the folder where to perform the search.
  • Query - the search string divided into words by spaces. Files and folders with names including all search words, will be returned.

Return value

    Returns the list of files and folders which names include all words from the query.

Description

    Use this method to find files and folders whose filenames include all words from the query as substrings. The search is limited to the specified folder.

See also:     List    

Discuss this help topic in SecureBlackbox Forum