SaveAs Method
Saves the project.
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
Public Overridable Sub SaveAs ( _
fileName As String _
)
'Usage
Dim instance As OAProject
Dim fileName As String
instance.SaveAs(fileName)
public virtual void SaveAs(
string fileName
)
public:
virtual void SaveAs(
String^ fileName
)
abstract SaveAs :
fileName:string -> unit
override SaveAs :
fileName:string -> unit
public function SaveAs(
fileName : String
)
Parameters
- fileName
Type: System..::..String
The file name with which to save the solution, project, or project item. If the file exists, it is overwritten
Implements
ProjectSaveAs(String)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Is thrown if the save operation failes. |
ArgumentNullException | Is thrown if fileName is null. |
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace