Obsolete. Superseded by IPartDoc::SaveToFile3.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SaveToFile2( _
ByVal Name As System.String, _
ByVal Options As System.Integer, _
ByRef Errors As System.Integer, _
ByRef Warnings As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPartDoc
Dim Name As System.String
Dim Options As System.Integer
Dim Errors As System.Integer
Dim Warnings As System.Integer
Dim value As System.Boolean
value = instance.SaveToFile2(Name, Options, Errors, Warnings) |
C++/CLI | |
---|
System.bool SaveToFile2(
& System.String^ Name,
& System.int Options,
& [Out] System.int Errors,
& [Out] System.int Warnings
) |
Parameters
- Name
- Name of the part document (.sldprt)
- Options
- Relevant options indicating how to save the document as defined in swSaveAsOptions_e
- Errors
- Errors that caused the save to fail as defined in swFileSaveError_e
- Warnings
- Warnings or extra information generated during the save operation as defined in swFileSaveWarning_e
Return Value
True if the save is successful, false if not
See Also
Availability
SOLIDWORKS 2004 SP2, Revision Number 12.2