Share via


Save 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 Save ( _
    fileName As String _
)
'Usage
Dim instance As OAProject
Dim fileName As String

instance.Save(fileName)
public virtual void Save(
    string fileName
)
public:
virtual void Save(
    String^ fileName
)
abstract Save : 
        fileName:string -> unit 
override Save : 
        fileName:string -> unit 
public function Save(
    fileName : String
)

Parameters

Implements

ProjectSave(String)

Exceptions

Exception Condition
InvalidOperationException

Is thrown if the save operation failes.

ArgumentNullException

Is thrown if fileName is null.

See Also

Reference

OAProject Class

Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace