Dela via


OAProjectItem.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 Function SaveAs ( _
    newFileName As String _
) As Boolean
public virtual bool SaveAs(
    string newFileName
)
public:
virtual bool SaveAs(
    String^ newFileName
)
abstract SaveAs : 
        newFileName:string -> bool 
override SaveAs : 
        newFileName:string -> bool 
public function SaveAs(
    newFileName : String
) : boolean

Parameters

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

Return Value

Type: System.Boolean
true if save was successful.

Implements

ProjectItem.SaveAs(String)

Remarks

This method is implemented on subclasses.

.NET Framework Security

See Also

Reference

OAProjectItem Class

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