Adds a criteria to the advanced component selection list.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddItem( _
ByVal Property 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 Property 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.AddItem(Property, Condition, Value, IsAnd) |
Parameters
- Property
- Name of property
- Condition
- Condition as defined in swAdvSelectType_e
- Value
- Text of the value
- 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 criteria in the advanced component selection list
Example
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14