Adds file types to the
File > Open dialog box.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As System.Integer
Dim MethodName As System.String
Dim Description As System.String
Dim Extension As System.String
Dim OptionLabel As System.String
Dim OptionMethodName As System.String
Dim value As System.Boolean
value = instance.AddFileOpenItem3(Cookie, MethodName, Description, Extension, OptionLabel, OptionMethodName) |
Parameters
- Cookie
Cookie specified in ISwAddin::ConnectToSW
- MethodName
Name of the application function used to open the file
- Description
File description displayed in the files of type list
- Extension
File name extensions separated by semicolons
- OptionLabel
Label for your options button or an empty string
- OptionMethodName
Name of the callback method to display a dialog box, which appears when a user clicks your options button or an empty string
Return Value
True if the file types are added to the file of type list, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0