Dela via


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

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.

Return Value

Type: System.Boolean
true if the rename was successful. false if Save as fails.

Implements

ProjectItem.SaveAs(String)

.NET Framework Security

See Also

Reference

OAFileItem Class

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