M-Files API 22.6.11519.0
SearchForObjectsByString Method
VaultObjectSearchOperations Object : SearchForObjectsByString Method
The search string defining the search conditions.
If this is set to "true", the results are sorted from A to Z based on their display name.
Description
Searches the vault for objects that match the specified string.
Syntax
Visual Basic
Public Function SearchForObjectsByString( _
   ByVal SearchString As String, _
   ByVal SortResults As Boolean, _
   ByVal FullTextSearchFlags As MFFullTextSearchFlags _
) As ObjectSearchResults
Parameters
SearchString
The search string defining the search conditions.
SortResults
If this is set to "true", the results are sorted from A to Z based on their display name.
FullTextSearchFlags
ValueDescription
MFFullTextSearchFlagsLookInFileDataLooks for matches in the file data of objects.
MFFullTextSearchFlagsLookInMetaDataLooks for matches in the metadata (properties) of objects.
MFFullTextSearchFlagsNoneNone (indicates a basic Boolean search).
MFFullTextSearchFlagsStemmingEnables stemming for all words in the search request. This includes inflected forms of the searched word.
MFFullTextSearchFlagsTypeAllWordsFinds all of the words in the search request.
MFFullTextSearchFlagsTypeAnyWordsFinds any of the words in the search request.
See Also

VaultObjectSearchOperations Object  | VaultObjectSearchOperations Members