Gets the specified advanced component selection criterion.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetItem2( _
ByVal Index As System.Integer, _
ByRef Category1 As System.String, _
ByRef Category2 As System.String, _
ByRef Condition As System.Integer, _
ByRef Value As System.String, _
ByRef IsAnd As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IAdvancedSelectionCriteria
Dim Index As System.Integer
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.GetItem2(Index, Category1, Category2, Condition, Value, IsAnd) |
Parameters
- Index
- Index number of the criterion to retrieve
- 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 criteria list must be met, false if only this criterion must be met
Return Value
Value of the Index argument or -1 if criterion specified by Index not found
Example
Remarks
See Also
Availability
SOLIDWORKS 2021 FCS, Revision Number 29