Solid Edge Framework Type Library
SearchDocuments Method
Specifies whether to use SearchScope.txt for the scope of the search. TRUE specifies using the search path as specified in the SearchScope.txt: in this case the path specified in “bstrFolder” is not used for searching. FALSE specifies not using the path specified in the SearchScope.txt: iIn this case the path specified in “bstrFolder” is used as the primary search path.
Specifies a comma-separated list of URL folder paths to search. All of the folders must be managed, or all of the folders must be unmanaged.
Specifies whether to include subfolders in the search. TRUE specifies that the search should include the entire directory tree beyond the directory specified in the bstrFolder or searchscope.txt. FALSE specifies that search should only use the directory specified in either the SearchScope.txt or the bstrFolder.
Specifies the documents found in the search.
Specifies the number of documents found in the search.
Specifies a comma-separated list of file types to search (for example, *.par, *.asm).
Specifies up to three properties to match in the search. (Such as "Author", "Title", "SERevisedFrom", "Date", and so forth.)
Specifies conditions for the properties in PropertyList. Valid conditions are <, <=, =, >=, >, "where", and "contains."
Specifies values for the properties in PropertyList, relative to the conditions in ConditionList.
Specifies the number of properties in PropertyList. The variant must be based upon an integer.
Specifies whether to search for properties modified within the past number of days specified by varNumberOfDays.
Specifies the number of days within which modified properties are searched for. This argument must have value if varCheckModified has value.
Specifies the title of each document in the search results.
Specifies the subject of each document in the search results.
Specifies the modified date of each document in the search results..
Description
Searched documents at specified managed/unmanaged location based of defined criteria
Syntax
Visual Basic
Public Function SearchDocuments( _
   ByVal bUseSearchScope As Boolean, _
   ByVal bstrFolders As String, _
   ByVal bIncludeSubFolders As Boolean, _
   ByRef ListOfFoundDocuments As Variant, _
   ByRef iNumDocsFound As Long, _
   Optional ByVal varFileFilterOrText As Variant, _
   Optional ByVal PropertyList As Variant, _
   Optional ByVal ConditionList As Variant, _
   Optional ByVal PropertyValueList As Variant, _
   Optional ByVal varNumProps As Variant, _
   Optional ByVal varCheckModified As Variant, _
   Optional ByVal varNumberOfDays As Variant, _
   Optional ByRef ListOfTitles As Variant, _
   Optional ByRef ListOfSubjects As Variant, _
   Optional ByRef ListOfModifiedDates As Variant _
) As Long
Parameters
bUseSearchScope
Specifies whether to use SearchScope.txt for the scope of the search. TRUE specifies using the search path as specified in the SearchScope.txt: in this case the path specified in “bstrFolder” is not used for searching. FALSE specifies not using the path specified in the SearchScope.txt: iIn this case the path specified in “bstrFolder” is used as the primary search path.
bstrFolders
Specifies a comma-separated list of URL folder paths to search. All of the folders must be managed, or all of the folders must be unmanaged.
bIncludeSubFolders
Specifies whether to include subfolders in the search. TRUE specifies that the search should include the entire directory tree beyond the directory specified in the bstrFolder or searchscope.txt. FALSE specifies that search should only use the directory specified in either the SearchScope.txt or the bstrFolder.
ListOfFoundDocuments
Specifies the documents found in the search.
iNumDocsFound
Specifies the number of documents found in the search.
varFileFilterOrText
Specifies a comma-separated list of file types to search (for example, *.par, *.asm).
PropertyList
Specifies up to three properties to match in the search. (Such as "Author", "Title", "SERevisedFrom", "Date", and so forth.)
ConditionList
Specifies conditions for the properties in PropertyList. Valid conditions are <, <=, =, >=, >, "where", and "contains."
PropertyValueList
Specifies values for the properties in PropertyList, relative to the conditions in ConditionList.
varNumProps
Specifies the number of properties in PropertyList. The variant must be based upon an integer.
varCheckModified
Specifies whether to search for properties modified within the past number of days specified by varNumberOfDays.
varNumberOfDays
Specifies the number of days within which modified properties are searched for. This argument must have value if varCheckModified has value.
ListOfTitles
Specifies the title of each document in the search results.
ListOfSubjects
Specifies the subject of each document in the search results.
ListOfModifiedDates
Specifies the modified date of each document in the search results..
See Also

Application Object  | Application Members