Discuss this help topic in SecureBlackbox Forum

TElDropboxDataStorage.Search

TElDropboxDataStorage     See also     


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


Performs search by filename.

Declaration

[C#]
    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)

[Java]
    String[] search(String Path, String Query, boolean IncludeDeleted);
    void search(String Path, String Query, boolean IncludeDeleted, TElDataStorageObjectList Objects);
    void search(String Path, String Query, TElDataStorageObjectList Objects);
    String[] search(String Path, String Query);

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