OAProject.SaveAs Method

Saves the project item to a given file name.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Automation
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.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
)
public function SaveAs(
    fileName : String
)
abstract SaveAs : 
        fileName:string -> unit 
override SaveAs : 
        fileName:string -> unit 

Parameters

  • fileName
    Type: System.String
    The file name with which to save the solution, project, or project item. If the file already exists, it is overwritten.

Implements

Project.SaveAs(String)

.NET Framework Security

See Also

Reference

OAProject Class

OAProject Members

Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace