Adds the specified advanced component selection criterion to the list.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddItem2( _
ByVal Category1 As System.String, _
ByVal Category2 As System.String, _
ByVal Condition As System.Integer, _
ByVal Value As System.String, _
ByVal IsAnd As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAdvancedSelectionCriteria
Dim Category1 As System.String
Dim Category2 As System.String
Dim Condition As System.Integer
Dim Value As System.String
Dim IsAnd As System.Boolean
Dim value As System.Integer
value = instance.AddItem2(Category1, Category2, Condition, Value, IsAnd) |
Parameters
- Category1
- Name of Category1 (see Remarks)
- Category2
- Name of Category2 (see Remarks)
- Condition
- Condition as defined in swAdvSelectType_e (see Remarks)
- Value
- Text value satisfying Condition (see Remarks)
- IsAnd
- True if all of the criteria in the advanced component selection list must be met, false if only this criteria in the advanced component selection list must be met
Return Value
Index number of the newly added criterion in the advanced component selection criteria list
Remarks
See Also
Availability
SOLIDWORKS 2021 FCS, Revision Number 29