| Visual Basic | |
|---|---|
Sub AddMultiVariableCondition( _ ByVal poVariableNames() As System.String, _ ByVal bsCondition As System.String _ ) | |
| C# | |
|---|---|
void AddMultiVariableCondition( System.string[] poVariableNames, System.string bsCondition ) | |
| C++/CLI | |
|---|---|
void AddMultiVariableCondition( & System.array<String^>^ poVariableNames, & System.String^ bsCondition ) | |
Parameters
- poVariableNames
- Array of file or folder data card variable names (see Remarks)
- bsCondition
- Condition to apply to poVariableNames (see Remarks)
See the IEdmSearch9 examples.
Call this method before calling IEdmSearch5::GetFirstResult.
Specify poVariableNames and bsCondition using the basic syntax (single-value search logic rules) as defined in Search Syntax.
poVariableNames requires:
- \" to replace each " inside the variable name
- \\ to replace each \ inside the variable name
- " on both the left and right side of the variable name
poVariableNames supports:
- IDs in place of names
- 0 or "" to represent "any variable
- _Name to represent file/folder name
Syntactically incorrect elements in poVariableNames will generate an exception.
SOLIDWORKS PDM Professional 2020