Share

iLogicVaultClass.CheckFilesExistBySearchCriteria Method (Dictionary(String, String), Dictionary(String, Dictionary(String, String)), Boolean, String[])

Search multiple file(s) by one to many search criteria as property/value pairs.
Returns list of file names found, matching the criteria.
Preset Search Operator Options: [Property] is (exactly) [Value]; multiple conditions link up using AND/OR condition, depending MatchAllCriteria = True/False

Namespace:  Autodesk.iLogic.Vault
Assembly:  Autodesk.iLogic.Vault (in Autodesk.iLogic.Vault.dll) Version: 30.0

Syntax

VB

Public Function CheckFilesExistBySearchCriteria ( 
	SearchCriteria As Dictionary(Of String, String),
	ByRef AllFilesVaultFileProperties As Dictionary(Of String, Dictionary(Of String, String)),
	Optional MatchAllCriteria As Boolean = true,
	Optional SearchFolders As String() = Nothing
) As IList(Of String)

C#

public IList<string> CheckFilesExistBySearchCriteria(
	Dictionary<string, string> SearchCriteria,
	ref Dictionary<string, Dictionary<string, string>> AllFilesVaultFileProperties,
	bool MatchAllCriteria = true,
	string[] SearchFolders = null
)

Parameters

SearchCriteria
Type: System.Collections.Generic.Dictionary(String, String)
Dictionary of property/value pairs
AllFilesVaultFileProperties
Type: System.Collections.Generic.Dictionary(String, Dictionary(String, String))
Dictionary of files' property dictionaries
MatchAllCriteria (Optional)
Type: System.Boolean
Optional. Switches AND/OR conditions for multiple criteria. Default is True.
SearchFolders (Optional)
Type:  System.String[]
Optional. Limit search scope to given folder path(s).

Return Value

Type: IList(String)
List of file names found

See Also

Reference

Was this information helpful?