Removes a file type from the
File > Open dialog box that was added using
ISldWorks::AddFileOpenItem3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveFileOpenItem2( _
ByVal Cookie As System.Integer, _
ByVal MethodName As System.String, _
ByVal Description As System.String, _
ByVal Extension As System.String _
) As System.Boolean |
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 value As System.Boolean
value = instance.RemoveFileOpenItem2(Cookie, MethodName, Description, Extension) |
CSOLIDWORKS.Interop.sldworks~SOLIDWORKS.Interop.sldworks.ISldWorks~RemoveFileOpenItem2.html# | |
---|
System.bool RemoveFileOpenItem2(
System.int Cookie,
System.string MethodName,
System.string Description,
System.string Extension
) |
Parameters
- Cookie
Cookie specified in ISwAddin::ConnectToSW
- MethodName
Name of the application function used to open the file as specified in ISldWorks::AddFileOpenItem3
- Description
File description in the Save as type list
- Extension
File name extension
Return Value
True if the file type is removed from the Save as type list, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0