Adds this flyout to the context menus of the specified documents and selections.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddContextMenuFlyout( _
ByVal DocumentType As System.Integer, _
ByVal SelectionType As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IFlyoutGroup
Dim DocumentType As System.Integer
Dim SelectionType As System.Integer
Dim value As System.Boolean
value = instance.AddContextMenuFlyout(DocumentType, SelectionType) |
Parameters
- DocumentType
- Type of document as defined in swDocumentTypes_e
- SelectionType
- Type of object as defined in swSelectType_e
Return Value
True if successful, false if not
Example
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0