Called when a selection is made, which allows the add-in to accept or reject the selection.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function OnSubmitSelection( _
ByVal Id As Integer, _
ByVal Selection As Object, _
ByVal SelType As Integer, _
ByRef ItemText As String _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2Handler9
Dim Id As Integer
Dim Selection As Object
Dim SelType As Integer
Dim ItemText As String
Dim value As Boolean
value = instance.OnSubmitSelection(Id, Selection, SelType, ItemText)
|
Parameters
- Id
- ID of the active selection box, where this selection is being made
- Selection
- Object being selected
- SelType
- Entity type of the selection as defined in swSelectType_e
- ItemText
- Item for selection list box (see Remarks)
Example
Remarks
See Also
Availability
Solidworks 2012 FCS, Revision Number 20.0