Delen via


OAProject.SaveAs Method

This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Internal
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Overridable Sub SaveAs ( _
    fileName As String _
)
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

Project.SaveAs(String)

Remarks

Exceptions: InvalidOperationException is thrown if the save operation fails.

.NET Framework Security

See Also

Reference

OAProject Class

Microsoft.VisualStudio.Data.Schema.Package.Internal Namespace