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 System.Integer, _
ByVal Selection As System.Object, _
ByVal SelType As System.Integer, _
ByRef ItemText As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2Handler9
Dim Id As System.Integer
Dim Selection As System.Object
Dim SelType As System.Integer
Dim ItemText As System.String
Dim value As System.Boolean
value = instance.OnSubmitSelection(Id, Selection, SelType, ItemText) |
C++/CLI | |
---|
System.bool OnSubmitSelection(
& System.int Id,
& System.Object^ Selection,
& System.int SelType,
& [Out] System.String^ 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