Adds a criteria to the advanced component selection list.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddItem( _
ByVal Property As String, _
ByVal Condition As Integer, _
ByVal Value As String, _
ByVal IsAnd As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAdvancedSelectionCriteria
Dim Property As String
Dim Condition As Integer
Dim Value As String
Dim IsAnd As Boolean
Dim value As 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